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 and Description |
---|
TextType() |
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
|
public boolean equals(Object obj)
Determines whether this instance is equal with specified uncasted object, which presumably is another "TextType" instance
public boolean equals(TextType other)
Determines whether this instance is equal with specified "TextType" instance
other
- TextTypepublic static TextType getCss()
CSS type of the textual resource
public String getFileExtension()
File extension (without dot character) of a particular textual resource
getFileExtension
in interface IResourceType
public String getFormalName()
Returns a formal name of this textual resource type
getFormalName
in interface IResourceType
public String getMimeCode()
MIME code of a particular textual resource type
getMimeCode
in interface IResourceType
public static TextType getUndefined()
Special value, which marks undefined, unknown or unsupported textual resource
public static TextType getXml()
XML type of the textual resource
public int hashCode()
Returns a hash-code, which is a constant number for this specific value type
public static boolean op_Equality(TextType first, TextType second)
Defines whether two specific "TextType" instances are equal
first
- TextTypesecond
- TextTypepublic static boolean op_Inequality(TextType first, TextType second)
Defines whether two specific "TextType" instances are not equal
first
- TextTypesecond
- TextTypeCopyright © 2018. All rights reserved.