|
|||||||||
| 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(InputStream in)
Constructs a PNGDecoder object. |
|
| Method Summary | |
|---|---|
BufferedImage |
decode()
Decodes image from an input stream passed into constructor. |
static BufferedImage |
decode(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(InputStream in)
in - input stream to read PNG image from.| Method Detail |
|---|
public BufferedImage decode()
throws IOException
IOExceptionpublic static BufferedImage decode(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 | ||||||||