net.sourceforge.atunes.kernel.utils
Class PictureExporter

java.lang.Object
  extended by net.sourceforge.atunes.kernel.utils.PictureExporter

public class PictureExporter
extends java.lang.Object

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

FILES_EXTENSION

public static final java.lang.String FILES_EXTENSION
The Constant FILES_EXTENSION.

See Also:
Constant Field Values
Constructor Detail

PictureExporter

public PictureExporter()
Method Detail

savePicture

public static void savePicture(java.awt.Image image,
                               java.lang.String fileName)
                        throws java.io.IOException
Writes an image into a file in png format.

Parameters:
image - The image that should be written to a file
fileName - The name of the file
Throws:
java.io.IOException - If an IO exception occurs


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.