Class SourceFormat

  • All Implemented Interfaces:
    Format

    public class SourceFormat
    extends java.lang.Object
    implements Format
    Represents outgoing file format.
    • Constructor Detail

      • SourceFormat

        public SourceFormat​(java.lang.String extension,
                            java.lang.String mimetype)
    • Method Detail

      • add

        public SourceFormat add​(java.lang.String mimetype)
      • getMimetypes

        public java.util.Set<java.lang.String> getMimetypes()
        Specified by:
        getMimetypes in interface Format
        Returns:
        all possible MIME-Types as Set of Sting representations.
        See Also:
        Format.getMimetypes()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()