Package | Description |
---|---|
org.alfresco.service.cmr.repository |
Modifier and Type | Method and Description |
---|---|
static ContentData |
ContentData.createContentProperty(String contentPropertyStr)
Construct a content property from a string
|
ContentData |
ContentAccessor.getContentData()
Get the data representation of the content being accessed.
|
static ContentData |
ContentData.setEncoding(ContentData existing,
String encoding)
Constructs a new instance using the existing one as a template, but replacing the
encoding.
|
static ContentData |
ContentData.setMimetype(ContentData existing,
String mimetype)
Constructs a new instance using the existing one as a template, but replacing the
mimetype
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ContentData.hasContent(ContentData contentData)
Helper method to determine if the data represents any physical content or not.
|
static ContentData |
ContentData.setEncoding(ContentData existing,
String encoding)
Constructs a new instance using the existing one as a template, but replacing the
encoding.
|
static ContentData |
ContentData.setMimetype(ContentData existing,
String mimetype)
Constructs a new instance using the existing one as a template, but replacing the
mimetype
|
Constructor and Description |
---|
ContentData(ContentData original)
Copy constructor for derived class
|
Copyright © 2005–2016 Alfresco Software. All rights reserved.