|
xmlgraphics-commons 1.4 | |||||||||
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. |
java.io.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 arrayMethod Detail |
---|
public java.io.InputStream createInputStream()
createInputStream
in interface ImageRawStream.InputStreamFactory
public void close()
close
in interface ImageRawStream.InputStreamFactory
public boolean isUsedOnceOnly()
isUsedOnceOnly
in interface ImageRawStream.InputStreamFactory
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |