Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.impl.blob
Class DefaultStreamBlob

java.lang.Object
  extended by org.nuxeo.ecm.core.api.impl.blob.AbstractBlob
      extended by org.nuxeo.ecm.core.api.impl.blob.StreamBlob
          extended by org.nuxeo.ecm.core.api.impl.blob.DefaultStreamBlob
All Implemented Interfaces:
Serializable, Blob
Direct Known Subclasses:
FileBlob, InputStreamBlob, LazyBlob, SQLBlob, URLBlob

public abstract class DefaultStreamBlob
extends StreamBlob
implements Serializable

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.impl.blob.AbstractBlob
EMPTY_BYTE_ARRAY, EMPTY_INPUT_STREAM, EMPTY_READER, EMPTY_STRING
 
Constructor Summary
DefaultStreamBlob()
           
 
Method Summary
 String getDigest()
           
 String getEncoding()
           
 String getFilename()
           
 String getMimeType()
           
 void setDigest(String digest)
           
 void setEncoding(String encoding)
           
 void setFilename(String filename)
           
 void setMimeType(String mimeType)
           
 
Methods inherited from class org.nuxeo.ecm.core.api.impl.blob.StreamBlob
asByteArrayBlob, asStringBlob, getByteArray, getLength, getReader, getString, readBytes, readBytes, readString
 
Methods inherited from class org.nuxeo.ecm.core.api.impl.blob.AbstractBlob
copy, copy, transferTo, transferTo, transferTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.core.api.Blob
getStream, isPersistent, persist
 

Constructor Detail

DefaultStreamBlob

public DefaultStreamBlob()
Method Detail

getDigest

public String getDigest()
Specified by:
getDigest in interface Blob

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface Blob

getFilename

public String getFilename()
Specified by:
getFilename in interface Blob

getMimeType

public String getMimeType()
Specified by:
getMimeType in interface Blob

setDigest

public void setDigest(String digest)
Specified by:
setDigest in interface Blob

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface Blob

setFilename

public void setFilename(String filename)
Specified by:
setFilename in interface Blob

setMimeType

public void setMimeType(String mimeType)
Specified by:
setMimeType in interface Blob

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.