edu.rice.cs.hpc.data.util.Util Class Reference
Miscellaneous useful operations.
More...
List of all members.
Classes |
class | FileThreadsMetricFilter |
| File filter to find a file with a glob-style pattern It is primarily used by File.listdir method. More...
|
class | FileXMLFilter |
| Class to filter the list of files in a directory and return only XML files The filter is basically very simple: if the last 3 letters has "xml" substring then we consider it as XML file. More...
|
Static Public Member Functions |
static boolean | booleanValue (String s) |
static String | spaces (int count) |
static String | rightJustifiedField (String s, int fieldWidth) |
static DecimalFormat | makeDecimalFormatter (String pattern) |
static String | formatInt (int n, DecimalFormat formatter, int fieldWidth) |
static String | formatDouble (double d, DecimalFormat formatter, int fieldWidth) |
static File[] | getListOfXMLFiles (String sDir) |
static String | getObjectID (Object o) |
Static Protected Attributes |
static final String | SPACES = " " |
| An array of space characters used to left-pad the output of DecimalFormat .
|
Detailed Description
Miscellaneous useful operations.
Definition at line 36 of file Util.java.
Member Function Documentation
static boolean edu.rice.cs.hpc.data.util.Util.booleanValue |
( |
String |
s |
) |
[static] |
static String edu.rice.cs.hpc.data.util.Util.formatDouble |
( |
double |
d, |
|
|
DecimalFormat |
formatter, |
|
|
int |
fieldWidth | |
|
) |
| | [static] |
static String edu.rice.cs.hpc.data.util.Util.formatInt |
( |
int |
n, |
|
|
DecimalFormat |
formatter, |
|
|
int |
fieldWidth | |
|
) |
| | [static] |
static File [] edu.rice.cs.hpc.data.util.Util.getListOfXMLFiles |
( |
String |
sDir |
) |
[static] |
static String edu.rice.cs.hpc.data.util.Util.getObjectID |
( |
Object |
o |
) |
[static] |
static DecimalFormat edu.rice.cs.hpc.data.util.Util.makeDecimalFormatter |
( |
String |
pattern |
) |
[static] |
static String edu.rice.cs.hpc.data.util.Util.rightJustifiedField |
( |
String |
s, |
|
|
int |
fieldWidth | |
|
) |
| | [static] |
static String edu.rice.cs.hpc.data.util.Util.spaces |
( |
int |
count |
) |
[static] |
Member Data Documentation
The documentation for this class was generated from the following file:
- edu.rice.cs.hpc.data/src/edu/rice/cs/hpc/data/util/Util.java