Class ContentData

java.lang.Object
eu.xenit.alfred.api.data.ContentData
All Implemented Interfaces:
Serializable

public class ContentData extends Object implements Serializable
Represents the data of a file.
See Also:
  • Constructor Details

  • Method Details

    • getContentUrl

      public String getContentUrl()
      Returns:
      The url that represents the content.
    • getMimetype

      public String getMimetype()
      Returns:
      The mimetype of the content.
    • getSize

      public long getSize()
      Returns:
      The size of the data, expressed in bytes.
    • getEncoding

      public String getEncoding()
      Returns:
      The encoding of the content data.
    • getLocale

      public Locale getLocale()
      Returns:
      The locale of the content data.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object