org.pentaho.commons.util.repository.type
Class ContentStreamImpl
java.lang.Object
org.pentaho.commons.util.repository.type.ContentStreamImpl
- All Implemented Interfaces:
- ContentStream
public class ContentStreamImpl
- extends Object
- implements ContentStream
ContentStreamImpl
public ContentStreamImpl()
getLength
public int getLength()
- Specified by:
getLength
in interface ContentStream
setLength
public void setLength(int length)
- Specified by:
setLength
in interface ContentStream
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface ContentStream
setMimeType
public void setMimeType(String mimeType)
- Specified by:
setMimeType
in interface ContentStream
getFilename
public String getFilename()
- Specified by:
getFilename
in interface ContentStream
setFilename
public void setFilename(String filename)
- Specified by:
setFilename
in interface ContentStream
getUri
public String getUri()
- Specified by:
getUri
in interface ContentStream
setUri
public void setUri(String uri)
- Specified by:
setUri
in interface ContentStream
getStream
public String getStream()
- Specified by:
getStream
in interface ContentStream
setStream
public void setStream(String stream)
- Specified by:
setStream
in interface ContentStream
base64EncodeBytes
public void base64EncodeBytes(byte[] bytes)
- Specified by:
base64EncodeBytes
in interface ContentStream
decodeBase64Stream
public byte[] decodeBase64Stream()
- Specified by:
decodeBase64Stream
in interface ContentStream