Package eu.xenit.alfred.api.data
Class ContentData
java.lang.Object
eu.xenit.alfred.api.data.ContentData
- All Implemented Interfaces:
Serializable
Represents the data of a file.
- See Also:
-
Constructor Details
-
ContentData
-
-
Method Details
-
getContentUrl
- Returns:
- The url that represents the content.
-
getMimetype
- Returns:
- The mimetype of the content.
-
getSize
public long getSize()- Returns:
- The size of the data, expressed in bytes.
-
getEncoding
- Returns:
- The encoding of the content data.
-
getLocale
- Returns:
- The locale of the content data.
-
hashCode
public int hashCode() -
equals
-