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.
|
String |
getMd5() |
int |
getWidth() |
void |
setHeight(int height) |
void |
setLength(int height) |
void |
setMd5(String md5) |
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 setpublic String getMd5()
public void setHeight(int height)
height
- the height to setpublic void setMd5(String md5)
md5
- the md5 to setCopyright © 2012–2014 Battams, Derek. All rights reserved.