Package org.aksw.commons.util.entity
Interface EntityInfo
-
- All Known Implementing Classes:
EntityInfoImpl
public interface EntityInfoCore content metadata describing encoding, content type, charset and language.- Author:
- raven
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LonggetByteSize()StringgetCharset()Charset, such as UTF-8 or ISO 8859-1Set<String>getConformsTo()A set of IRIs for 'standards' (may be informal or ad-hoc) a resource conforms toList<String>getContentEncodings()StringgetContentType()default StringgetEncodingsAsHttpHeader()Convenience methodSet<String>getLanguageTags()The set of language tags for which the content is suitable.LonggetUncompressedByteSize()
-
-
-
Method Detail
-
getContentType
String getContentType()
-
getCharset
String getCharset()
Charset, such as UTF-8 or ISO 8859-1- Returns:
-
getLanguageTags
Set<String> getLanguageTags()
The set of language tags for which the content is suitable.- Returns:
-
getConformsTo
Set<String> getConformsTo()
A set of IRIs for 'standards' (may be informal or ad-hoc) a resource conforms to
-
getByteSize
Long getByteSize()
-
getUncompressedByteSize
Long getUncompressedByteSize()
-
getEncodingsAsHttpHeader
default String getEncodingsAsHttpHeader()
Convenience method- Returns:
-
-