private static class ImageRawStream.SingleStreamFactory extends java.lang.Object implements ImageRawStream.InputStreamFactory
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
in |
| Constructor and Description |
|---|
SingleStreamFactory(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected void |
finalize() |
boolean |
isUsedOnceOnly()
Indicates whether this factory is only usable once or many times.
|
public java.io.InputStream createInputStream()
ImageRawStream.InputStreamFactorycreateInputStream in interface ImageRawStream.InputStreamFactorypublic void close()
ImageRawStream.InputStreamFactoryclose in interface ImageRawStream.InputStreamFactorypublic boolean isUsedOnceOnly()
ImageRawStream.InputStreamFactoryisUsedOnceOnly in interface ImageRawStream.InputStreamFactoryprotected void finalize()
finalize in class java.lang.Object