Class ContentInfoImpl
- java.lang.Object
-
- org.alfresco.rest.framework.resource.content.ContentInfoImpl
-
- All Implemented Interfaces:
BasicContentInfo
,ContentInfo
public class ContentInfoImpl extends Object implements ContentInfo
Basic implementation of information about the returned content.
-
-
Constructor Summary
Constructors Constructor Description ContentInfoImpl(String mimeType, String encoding, long length, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncoding()
long
getLength()
Locale
getLocale()
String
getMimeType()
-
-
-
Method Detail
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interfaceBasicContentInfo
-
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interfaceBasicContentInfo
-
getLength
public long getLength()
- Specified by:
getLength
in interfaceContentInfo
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceContentInfo
-
-