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