public class BinaryProperty extends Object implements ContentInfo, Serializable
| Constructor and Description |
|---|
BinaryProperty(org.alfresco.service.cmr.repository.ContentReader reader)
This is the preferred constructor to use.
|
BinaryProperty(String mimeType,
String encoding)
Sets the content length to zero, Locale to null, no stream and no caching
|
BinaryProperty(String mimeType,
String encoding,
long length,
Locale locale)
Sets no stream and no caching
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding() |
long |
getLength() |
Locale |
getLocale() |
String |
getMimeType() |
Long |
getSizeInBytes()
Used for serialization.
|
public BinaryProperty(String mimeType, String encoding)
mimeType - Stringencoding - Stringpublic BinaryProperty(org.alfresco.service.cmr.repository.ContentReader reader)
reader - ContentReaderpublic String getMimeType()
getMimeType in interface BasicContentInfopublic String getEncoding()
getEncoding in interface BasicContentInfopublic Long getSizeInBytes()
public long getLength()
getLength in interface ContentInfopublic Locale getLocale()
getLocale in interface ContentInfoCopyright © 2005–2018 Alfresco Software. All rights reserved.