|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.util.PNGDecoder
public class PNGDecoder
Allows to load PNG graphical file.
Constructor Summary | |
---|---|
PNGDecoder(java.io.InputStream in)
Constructs a PNGDecoder object. |
Method Summary | |
---|---|
java.awt.image.BufferedImage |
decode()
Decodes image from an input stream passed into constructor. |
static java.awt.image.BufferedImage |
decode(java.lang.String fileName)
Decodes image from file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PNGDecoder(java.io.InputStream in)
in
- input stream to read PNG image from.Method Detail |
---|
public java.awt.image.BufferedImage decode() throws java.io.IOException
java.io.IOException
public static java.awt.image.BufferedImage decode(java.lang.String fileName)
fileName
- a file to read image from
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |