Class EntityInfoImpl
java.lang.Object
org.aksw.commons.util.entity.EntityInfoImpl
- All Implemented Interfaces:
EntityInfo
A basic java implementation of the EntityInfo interface
- Author:
- raven
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEntityInfoImpl(String contentType) EntityInfoImpl(List<String> contentEncodings, String contentType) EntityInfoImpl(List<String> contentEncodings, String contentType, String charset) EntityInfoImpl(List<String> contentEncodings, String contentType, String charset, Set<String> languageTags) EntityInfoImpl(List<String> contentEncodings, String contentType, String charset, Set<String> languageTags, Set<String> conformsTo) -
Method Summary
Modifier and TypeMethodDescriptionbooleanCharset, such as UTF-8 or ISO 8859-1A set of IRIs for 'standards' (may be informal or ad-hoc) a resource conforms toThe set of language tags for which the content is suitable.inthashCode()voidsetByteSize(Long byteSize) voidsetUncompressedByteSize(Long uncompressedByteSize) toString()Methods inherited from interface EntityInfo
getEncodingsAsHttpHeader
-
Field Details
-
contentEncodings
-
contentType
-
charset
-
languageTags
-
conformsTo
-
byteSize
-
uncompressedByteSize
-
-
Constructor Details
-
EntityInfoImpl
-
EntityInfoImpl
-
EntityInfoImpl
-
EntityInfoImpl
-
EntityInfoImpl
-
-
Method Details
-
getContentEncodings
- Specified by:
getContentEncodingsin interfaceEntityInfo
-
getContentType
- Specified by:
getContentTypein interfaceEntityInfo
-
getCharset
Description copied from interface:EntityInfoCharset, such as UTF-8 or ISO 8859-1- Specified by:
getCharsetin interfaceEntityInfo- Returns:
-
getLanguageTags
Description copied from interface:EntityInfoThe set of language tags for which the content is suitable.- Specified by:
getLanguageTagsin interfaceEntityInfo- Returns:
-
getConformsTo
Description copied from interface:EntityInfoA set of IRIs for 'standards' (may be informal or ad-hoc) a resource conforms to- Specified by:
getConformsToin interfaceEntityInfo
-
getByteSize
- Specified by:
getByteSizein interfaceEntityInfo
-
setByteSize
-
getUncompressedByteSize
- Specified by:
getUncompressedByteSizein interfaceEntityInfo
-
setUncompressedByteSize
-
toString
-
hashCode
-
equals
-