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