com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class MultiLanguageString



  • public class MultiLanguageString
    extends Object

    Represents multi language string.

    • Method Detail

      • containsString

        public boolean containsString(String str)

        Returns true if the string is present inside all the language strings.

        Parameters:
        str - String to check.
        Returns:
        True if the string is present inside all the language strings.
      • getAllStrings

        public String[] getAllStrings()

        Returns all strings of all languages.

        Returns:
        Array of all strings of all languages.
      • getEnglishString

        public String getEnglishString()

        Returns english string if found. Otherwise returns first non-english string.

        Returns:
        English string if found, otherwise first non-english string.
      • hashCode

        public int hashCode()

        GetHashCode implementation.

        Overrides:
        hashCode in class Object
        Returns:
        hash code of object
      • op_Equality

        public static boolean op_Equality(MultiLanguageString obj1,
                                          String obj2)

        Equality operator implementation.

        Parameters:
        obj1 - first object to compare
        obj2 - second object to compare
        Returns:
        comparison result
      • op_Equality

        public static boolean op_Equality(String obj1,
                                          MultiLanguageString obj2)

        Equality operator implementation.

        Parameters:
        obj1 - string to compare
        obj2 - multilanguage string to compare
        Returns:
        comparison result
      • op_Inequality

        public static boolean op_Inequality(MultiLanguageString obj1,
                                            String obj2)

        Inequality operator implementation.

        Parameters:
        obj1 - string to compare
        obj2 - multilanguage string to compare
        Returns:
        comparison result
      • op_Inequality

        public static boolean op_Inequality(String obj1,
                                            MultiLanguageString obj2)

        Inequality operator implementation.

        Parameters:
        obj1 - string to compare
        obj2 - multilanguage string to compare
        Returns:
        comparison result
      • equals

        public boolean equals(Object objToCompare)

        Returns true if objects are considered equal.

        Overrides:
        equals in class Object
        Parameters:
        objToCompare - object to compare with
        Returns:
        comparison result