Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static double |
atof(String s) |
static int |
atoi(String s) |
static void |
closeQuietly(Closeable c) |
static void |
copyfile(String source,
String destination) |
static double[] |
copyOf(double[] original,
int newLength) |
static int[] |
copyOf(int[] original,
int newLength) |
static void |
endTicer(org.apache.log4j.Logger logger,
long startTime,
int nTicxRow,
int inTic,
int subject) |
static boolean |
equals(double[] a,
double[] a2) |
static int |
simpleTicer(org.apache.log4j.Logger logger,
long startTime,
int nTicxRow,
int inTic,
int subject) |
static void |
startTicer(org.apache.log4j.Logger logger,
long startTime,
int nTicxRow,
int subject) |
static String |
xmlEscape(String str) |
public Util()
public static int simpleTicer(org.apache.log4j.Logger logger, long startTime, int nTicxRow, int inTic, int subject)
public static void startTicer(org.apache.log4j.Logger logger, long startTime, int nTicxRow, int subject)
public static void endTicer(org.apache.log4j.Logger logger, long startTime, int nTicxRow, int inTic, int subject)
public static void copyfile(String source, String destination) throws MaltChainedException
MaltChainedException
public static double atof(String s)
s
- the string to parse for the double valueIllegalArgumentException
- if s is empty or represents NaN or InfinityNumberFormatException
- see Double.parseDouble(String)
public static int atoi(String s) throws NumberFormatException
s
- the string to parse for the integer valueIllegalArgumentException
- if s is emptyNumberFormatException
- see Integer.parseInt(String)
public static void closeQuietly(Closeable c)
public static double[] copyOf(double[] original, int newLength)
public static int[] copyOf(int[] original, int newLength)
public static boolean equals(double[] a, double[] a2)
Copyright 2007-2014 Johan Hall, Jens Nilsson and Joakim Nivre.