|
xmlgraphics-commons 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.image.loader.impl.ImageRawStream.ByteArrayStreamFactory
public static class ImageRawStream.ByteArrayStreamFactory
InputStream factory that wraps a byte array.
| Constructor Summary | |
|---|---|
ImageRawStream.ByteArrayStreamFactory(byte[] data)
Main constructor. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the factory and releases any resources held open during the lifetime of this object. |
InputStream |
createInputStream()
Creates and returns a new InputStream. |
boolean |
isUsedOnceOnly()
Indicates whether this factory is only usable once or many times. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageRawStream.ByteArrayStreamFactory(byte[] data)
data - the byte array| Method Detail |
|---|
public InputStream createInputStream()
createInputStream in interface ImageRawStream.InputStreamFactorypublic void close()
close in interface ImageRawStream.InputStreamFactorypublic boolean isUsedOnceOnly()
isUsedOnceOnly in interface ImageRawStream.InputStreamFactory
|
xmlgraphics-commons 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||