| java.lang.Object Acme.Utils
Utils | public class Utils (Code) | | |
Method Summary | |
public static String | absoluteUrlStr(String urlStr, URL contextUrl) | public static String | arrayToString(Object o) | public static boolean | arraycontains(Object[] array, Object element) | public static String | baseUrlStr(String urlStr) | public static int | charCount(String str, char c) | public static void | copyStream(InputStream in, OutputStream out) | public static void | copyStream(Reader in, Writer out) | public static void | copyStream(InputStream in, Writer out) | public static void | copyStream(Reader in, OutputStream out) | public static int | countOnes(byte n) | public static int | countOnes(int n) | public static int | countOnes(long n) | public static void | dumpStack(PrintStream p) | public static void | dumpStack() | public static boolean | equalsStrings(String[] strings1, String[] strings2) | public static boolean | even(long n) | public static String | fixDirUrlStr(String urlStr) | public static String | flattenStrarr(String[] strs) | public static int | indexOfString(String[] strings, String string) | public static int | indexOfStringIgnoreCase(String[] strings, String string) | public static boolean | instanceOf(Object o, Class cl) | public static String | intervalStr(long interval) | public static String | lsDateStr(Date date) | public static boolean | match(String pattern, String string) | public static int | matchSpan(String pattern, String string) | static int | matchSpan1(String pattern, String string) | public static boolean | odd(long n) | public static int | parseInt(String str, int def) | public static long | parseLong(String str, long def) | public static URL | plainUrl(URL context, String urlStr) | public static URL | plainUrl(String urlStr) | public static String | pluralStr(long n) | public static InputStream | popenr(String cmd) | public static OutputStream | popenw(String cmd) | public static long | pow(long a, long b) | public static void | putAll(Hashtable _dest, Hashtable _src) | public static int | read(InputStream in, byte[] b, int off, int len) | public static int | readFully(InputStream in, byte[] b, int off, int len) | public static Process | runCommand(String cmd) | public static int | sameSpan(String str1, String str2) | public static void | sortStrings(String[] strings) | public static String[] | splitStr(String str) | public static String[] | splitStr(String str, char delim) | public static int | strCSpan(String str, String charSet) | public static int | strCSpan(String str, String charSet, int fromIdx) | public static int | strSpan(String str, String charSet) | public static int | strSpan(String str, String charSet, int fromIdx) | public static int | system(String cmd) | public static String | urlDecoder(String encoded) | public static boolean | urlStrIsAbsolute(String urlStr) | public static boolean | urlStrIsDir(String urlStr) |
INT_DAY | final public static long INT_DAY(Code) | | |
INT_DECADE | final public static long INT_DECADE(Code) | | |
INT_HOUR | final public static long INT_HOUR(Code) | | |
INT_MINUTE | final public static long INT_MINUTE(Code) | | |
INT_MONTH | final public static long INT_MONTH(Code) | | |
INT_SECOND | final public static long INT_SECOND(Code) | | |
INT_WEEK | final public static long INT_WEEK(Code) | | |
INT_YEAR | final public static long INT_YEAR(Code) | | |
charCount | public static int charCount(String str, char c)(Code) | | |
countOnes | public static int countOnes(byte n)(Code) | | |
countOnes | public static int countOnes(int n)(Code) | | |
countOnes | public static int countOnes(long n)(Code) | | |
dumpStack | public static void dumpStack()(Code) | | |
equalsStrings | public static boolean equalsStrings(String[] strings1, String[] strings2)(Code) | | |
even | public static boolean even(long n)(Code) | | |
indexOfStringIgnoreCase | public static int indexOfStringIgnoreCase(String[] strings, String string)(Code) | | |
intervalStr | public static String intervalStr(long interval)(Code) | | |
odd | public static boolean odd(long n)(Code) | | |
parseInt | public static int parseInt(String str, int def)(Code) | | |
parseLong | public static long parseLong(String str, long def)(Code) | | |
sortStrings | public static void sortStrings(String[] strings)(Code) | | |
urlStrIsAbsolute | public static boolean urlStrIsAbsolute(String urlStr)(Code) | | |
urlStrIsDir | public static boolean urlStrIsDir(String urlStr)(Code) | | |
|
|