public static class ImageRawStream.ByteArrayStreamFactory extends Object implements ImageRawStream.InputStreamFactory
构造器和说明 |
---|
ByteArrayStreamFactory(byte[] data)
Main constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
public ByteArrayStreamFactory(byte[] data)
data
- the byte arraypublic InputStream createInputStream()
createInputStream
在接口中 ImageRawStream.InputStreamFactory
public void close()
close
在接口中 ImageRawStream.InputStreamFactory
public boolean isUsedOnceOnly()
isUsedOnceOnly
在接口中 ImageRawStream.InputStreamFactory
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.