Methods Summary |
---|
public byte[] | getContent()Content accessor.
return binaryContent;
|
public void | setContent(java.io.InputStream inputStream)Content mutator.
this.inputStream = inputStream;
|
public void | setContent(byte[] binaryContent)Content mutator.
this.binaryContent = binaryContent;
|
public java.io.InputStream | streamContent()Content accessor.
// ------------------------------------------------------------- Properties
if (binaryContent != null) {
return new ByteArrayInputStream(binaryContent);
}
return inputStream;
|