Class JDOA2Utils


  • public class JDOA2Utils
    extends Object
    A utility class. Provides information for the library, also stores jdoa2 useful information and utility methods.
    • Field Detail

      • DEFAULT_AVATARS

        public static final String[] DEFAULT_AVATARS
        Default avatars' icon hashes.
      • VERSION

        public static String VERSION
        Version of the library. Changed at compiling.
      • GITHUB

        public static String GITHUB
        GitHub URL of the library.
      • AUTHOR

        public static String AUTHOR
        The lead developer of the library's name.
    • Constructor Detail

      • JDOA2Utils

        public JDOA2Utils()
    • Method Detail

      • contains

        public static boolean contains​(String s,
                                       String[] sArr)
        Returns whenever the specified String contains into the specified String array.
        Parameters:
        s - string, checked if contains
        sArr - the array which is checked if the string contains
        Returns:
        true if contains, false otherwise