Modifier and Type | Field and Description |
---|---|
private final byte[] |
Access | Constructor and Description |
---|---|
pack-priv | ByteArrayResourcePoolEntry(String
The module name. module, String The data path identifier. path, ResourcePoolEntry.The data type. type,The byte buffer. buffer)Create a new ByteArrayResourcePoolEntry. |
Modifier and Type | Method and Description |
---|---|
public InputStream | content()
Implements jdk. The ResourcePoolEntry content as an InputStream. |
public byte[] | contentBytes()
Overrides default jdk. The ResourcePoolEntry content as an array of bytes. |
public long | contentLength()
Implements jdk. The ResourcePoolEntry content length. |
public void | write(OutputStream
the output stream out)Overrides default jdk. Write the content of this ResourcePoolEntry to an OutputStream. |
buffer | back to summary |
---|---|
private final byte[] buffer |
ByteArrayResourcePoolEntry | back to summary |
---|---|
pack-priv ByteArrayResourcePoolEntry(String module, String path, ResourcePoolEntry. Create a new ByteArrayResourcePoolEntry.
|
content | back to summary |
---|---|
public InputStream content() Implements jdk. Doc from jdk. The ResourcePoolEntry content as an InputStream.
|
contentBytes | back to summary |
---|---|
public byte[] contentBytes() Overrides default jdk. Doc from jdk. The ResourcePoolEntry content as an array of bytes.
|
contentLength | back to summary |
---|---|
public long contentLength() Implements jdk. Doc from jdk. The ResourcePoolEntry content length.
|
write | back to summary |
---|---|
public void write(OutputStream out) Overrides default jdk. Doc from jdk. Write the content of this ResourcePoolEntry to an OutputStream.
|