org.pentaho.commons.util.repository.type
Class ContentStreamImpl

java.lang.Object
  extended by org.pentaho.commons.util.repository.type.ContentStreamImpl
All Implemented Interfaces:
ContentStream

public class ContentStreamImpl
extends Object
implements ContentStream


Constructor Summary
ContentStreamImpl()
           
 
Method Summary
 void base64EncodeBytes(byte[] bytes)
           
 byte[] decodeBase64Stream()
           
 String getFilename()
           
 int getLength()
           
 String getMimeType()
           
 String getStream()
           
 String getUri()
           
 void setFilename(String filename)
           
 void setLength(int length)
           
 void setMimeType(String mimeType)
           
 void setStream(String stream)
           
 void setUri(String uri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentStreamImpl

public ContentStreamImpl()
Method Detail

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