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]

Definition at line 66 of file Util.java.

static String edu.rice.cs.hpc.data.util.Util.formatDouble ( double  d,
DecimalFormat  formatter,
int  fieldWidth 
) [static]

Definition at line 159 of file Util.java.

static String edu.rice.cs.hpc.data.util.Util.formatInt ( int  n,
DecimalFormat  formatter,
int  fieldWidth 
) [static]

Definition at line 143 of file Util.java.

static File [] edu.rice.cs.hpc.data.util.Util.getListOfXMLFiles ( String  sDir  )  [static]

Definition at line 202 of file Util.java.

static String edu.rice.cs.hpc.data.util.Util.getObjectID ( Object  o  )  [static]

Definition at line 212 of file Util.java.

static DecimalFormat edu.rice.cs.hpc.data.util.Util.makeDecimalFormatter ( String  pattern  )  [static]

Definition at line 119 of file Util.java.

static String edu.rice.cs.hpc.data.util.Util.rightJustifiedField ( String  s,
int  fieldWidth 
) [static]

Definition at line 99 of file Util.java.

static String edu.rice.cs.hpc.data.util.Util.spaces ( int  count  )  [static]

Definition at line 85 of file Util.java.

References edu.rice.cs.hpc.data.util.Util.SPACES.


Member Data Documentation

final String edu.rice.cs.hpc.data.util.Util.SPACES = " " [static, protected]

An array of space characters used to left-pad the output of DecimalFormat.

Definition at line 50 of file Util.java.

Referenced by edu.rice.cs.hpc.data.util.Util.spaces().


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1