edu.stanford.math.plex4.io
public class BufferedImageWriter extends java.lang.Object implements ObjectWriter<java.awt.image.BufferedImage>
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDefaultEncoderFormat() |
java.lang.String |
getExtension() |
static BufferedImageWriter |
getInstance(java.lang.String parameter) |
void |
writeToFile(java.awt.image.BufferedImage object,
java.lang.String path) |
public static BufferedImageWriter getInstance(java.lang.String parameter)
public static java.lang.String getDefaultEncoderFormat()
public void writeToFile(java.awt.image.BufferedImage object, java.lang.String path) throws java.io.IOException
writeToFile
in interface ObjectWriter<java.awt.image.BufferedImage>
java.io.IOException
public java.lang.String getExtension()
getExtension
in interface ObjectWriter<java.awt.image.BufferedImage>