com.groupdocs.editor.htmlcss.resources.textual

Class TextType

  • java.lang.Object
    • com.aspose.ms.System.ValueType<T>
      • com.aspose.ms.lang.Struct<TextType>
        • com.groupdocs.editor.htmlcss.resources.textual.TextType
  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<TextType>, IResourceType


    public class TextType
    extends com.aspose.ms.lang.Struct<TextType>
    implements com.aspose.ms.System.IEquatable<TextType>, IResourceType

    Represents one supportable textual resource type

    • Constructor Summary

      Constructors 
      Constructor and Description
      TextType() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(Object obj)
      Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance
      boolean equals(TextType other)
      Determines whether this instance is equal with specified "TextType" instance
      static TextType getCss()
      CSS type of the textual resource
      String getFileExtension()
      File extension (without dot character) of a particular textual resource
      String getFormalName()
      Returns a formal name of this textual resource type
      String getMimeCode()
      MIME code of a particular textual resource type
      static TextType getUndefined()
      Special value, which marks undefined, unknown or unsupported textual resource
      static TextType getXml()
      XML type of the textual resource
      int hashCode()
      Returns a hash-code, which is a constant number for this specific value type
      static boolean op_Equality(TextType first, TextType second)
      Defines whether two specific "TextType" instances are equal
      static boolean op_Inequality(TextType first, TextType second)
      Defines whether two specific "TextType" instances are not equal
      static TextType parseFromFilenameWithExtension(String filename)
      Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename
      • Methods inherited from class com.aspose.ms.System.ValueType

        Clone, CloneTo
    • Constructor Detail

      • TextType

        public TextType()
    • Method Detail

      • equals

        public boolean equals(Object obj)

        Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<TextType>
        Overrides:
        equals in class Object
        Parameters:
        obj - Object
      • equals

        public boolean equals(TextType other)

        Determines whether this instance is equal with specified "TextType" instance

        Parameters:
        other - TextType
      • getCss

        public static TextType getCss()

        CSS type of the textual resource

      • getFileExtension

        public String getFileExtension()

        File extension (without dot character) of a particular textual resource

        Specified by:
        getFileExtension in interface IResourceType
      • getUndefined

        public static TextType getUndefined()

        Special value, which marks undefined, unknown or unsupported textual resource

      • getXml

        public static TextType getXml()

        XML type of the textual resource

      • hashCode

        public int hashCode()

        Returns a hash-code, which is a constant number for this specific value type

        Overrides:
        hashCode in class Object
      • op_Equality

        public static boolean op_Equality(TextType first,
                          TextType second)

        Defines whether two specific "TextType" instances are equal

        Parameters:
        first - TextType
        second - TextType
        Returns:
      • op_Inequality

        public static boolean op_Inequality(TextType first,
                            TextType second)

        Defines whether two specific "TextType" instances are not equal

        Parameters:
        first - TextType
        second - TextType
        Returns:
      • parseFromFilenameWithExtension

        public static TextType parseFromFilenameWithExtension(String filename)

        Returns TextType value, which is equivalent of filename extension, which is extracted from specified filename

        Parameters:
        filename - Filename extension.
        Returns: