| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
InputStream |
getImage()
Grab the logo image for this station as a raw input stream; caller is responsible for closing this stream when done with it.
|
int |
getWidth() |
void |
setLength(int height) |
void |
setWidth(int width) |
String |
toString() |
void |
writeImageToFile(File dest)
Save the logo image to a file
|
public InputStream getImage() throws IOException
IOException - On any IO errorpublic void writeImageToFile(File dest) throws IOException
dest - The file to write the image toIOException - On any IO errorpublic int getWidth()
public void setWidth(int width)
width - the width to setpublic int getHeight()
public void setLength(int height)
height - the height to setCopyright © 2012-2014 Battams, Derek. All Rights Reserved.