Enum WikiLanguage

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<WikiLanguage>

    public enum WikiLanguage
    extends java.lang.Enum<WikiLanguage>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String hideCharsF7​(java.lang.String s)  
      static java.lang.String restoreAllCharsF7​(java.lang.String s)  
      static java.lang.String restoreAllCharsF7AndDoEscapeForBackSlash​(java.lang.String s)  
      java.lang.String slashTag​(java.lang.String tagName)  
      java.lang.String tag​(java.lang.String tagName)  
      java.lang.String tag​(java.lang.String tagName, java.lang.String name, java.lang.String value)  
      static char toF7​(char ch)  
      static java.lang.String toHtmlDebug​(java.lang.String s)  
      java.lang.String toString()  
      static WikiLanguage valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static WikiLanguage[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static WikiLanguage[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WikiLanguage c : WikiLanguage.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WikiLanguage valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<WikiLanguage>
      • toHtmlDebug

        public static java.lang.String toHtmlDebug​(java.lang.String s)
      • hideCharsF7

        public static java.lang.String hideCharsF7​(java.lang.String s)
      • restoreAllCharsF7AndDoEscapeForBackSlash

        public static java.lang.String restoreAllCharsF7AndDoEscapeForBackSlash​(java.lang.String s)
      • restoreAllCharsF7

        public static java.lang.String restoreAllCharsF7​(java.lang.String s)
      • toF7

        public static char toF7​(char ch)
      • slashTag

        public java.lang.String slashTag​(java.lang.String tagName)
      • tag

        public java.lang.String tag​(java.lang.String tagName)
      • tag

        public java.lang.String tag​(java.lang.String tagName,
                                    java.lang.String name,
                                    java.lang.String value)