org.apache.naming.resources
public class Resource extends Object
Version: $Revision: 467222 $
Field Summary | |
---|---|
protected byte[] | binaryContent
Binary content. |
protected InputStream | inputStream
Input stream. |
Constructor Summary | |
---|---|
Resource() | |
Resource(InputStream inputStream) | |
Resource(byte[] binaryContent) |
Method Summary | |
---|---|
byte[] | getContent()
Content accessor.
|
void | setContent(InputStream inputStream)
Content mutator.
|
void | setContent(byte[] binaryContent)
Content mutator.
|
InputStream | streamContent()
Content accessor.
|
Returns: binary content
Parameters: inputStream New input stream
Parameters: binaryContent New bin content
Returns: InputStream