|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.utils.PictureExporter
public class PictureExporter
Utility methods for picture exporting.
Field Summary | |
---|---|
static java.lang.String |
FILES_EXTENSION
The Constant FILES_EXTENSION. |
Constructor Summary | |
---|---|
PictureExporter()
|
Method Summary | |
---|---|
static void |
savePicture(java.awt.Image image,
java.lang.String fileName)
Writes an image into a file in png format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FILES_EXTENSION
Constructor Detail |
---|
public PictureExporter()
Method Detail |
---|
public static void savePicture(java.awt.Image image, java.lang.String fileName) throws java.io.IOException
image
- The image that should be written to a filefileName
- The name of the file
java.io.IOException
- If an IO exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |