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 StringgetEncoding()longgetLength()LocalegetLocale()StringgetMimeType()
-
-
-
Method Detail
-
getMimeType
public String getMimeType()
- Specified by:
getMimeTypein interfaceBasicContentInfo
-
getEncoding
public String getEncoding()
- Specified by:
getEncodingin interfaceBasicContentInfo
-
getLength
public long getLength()
- Specified by:
getLengthin interfaceContentInfo
-
getLocale
public Locale getLocale()
- Specified by:
getLocalein interfaceContentInfo
-
-