| |
|
| java.lang.Object org.apache.naming.resources.Resource
Resource | public class Resource (Code) | | Encapsultes the contents of a resource.
author: Remy Maucherat version: $Revision: 1.2 $ |
binaryContent | protected byte[] binaryContent(Code) | | Binary content.
|
Resource | public Resource()(Code) | | |
Resource | public Resource(byte[] binaryContent)(Code) | | |
getContent | public byte[] getContent()(Code) | | Content accessor.
binary content |
setContent | public void setContent(InputStream inputStream)(Code) | | Content mutator.
Parameters: inputStream - New input stream |
setContent | public void setContent(byte[] binaryContent)(Code) | | Content mutator.
Parameters: binaryContent - New bin content |
|
|
|