Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::commandcenter::util::MiscUtils Class Reference

List of all members.

Static Public Member Functions

Logger getPackageLogger (Object requester)
Logger getPackageLogger (Class<?> requester)
int parseInt (String text)
String join (String[] text)
String[] split (String text)

Member Function Documentation

Logger alma::acs::commandcenter::util::MiscUtils::getPackageLogger Class<?>  requester  )  [inline, static]
 

Returns a logger for the specified class, based on the requester's package name, e.g. "alma.acs.commandcenter.engine", thus the logger will be shared by all classes in that package.

Parameters:
requester class which needs a package-wide logger
Returns:
a logger

Logger alma::acs::commandcenter::util::MiscUtils::getPackageLogger Object  requester  )  [inline, static]
 

Returns a logger for the specified class, based on the requester's package name, e.g. "alma.acs.commandcenter.engine", thus the logger will be shared by all classes in that package.

Parameters:
requester object which needs a package-wide logger
Returns:
a logger

String alma::acs::commandcenter::util::MiscUtils::join String[]  text  )  [inline, static]
 

Returns the specified strings concatenated as one comma-separated string.

Returns:
the specified strings concatenated as one comma-separated string.

int alma::acs::commandcenter::util::MiscUtils::parseInt String  text  )  [inline, static]
 

Returns the specified string parsed as an int, or 0 if parsing fails.

Returns:
the specified string parsed as an int, or 0 if parsing fails.

String [] alma::acs::commandcenter::util::MiscUtils::split String  text  )  [inline, static]
 

Returns the specified string parsed into pieces. Commas and semi-colons are accepted as separators, whitespace is tolerated. Thus, the formats recognized are roughly:

  • "abc,def,ghi"
  • "abc, def, ghi"
  • "abc;def;ghi"
  • "abc; def; ghi"
Returns:
the specified string parsed into pieces.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:52:14 2009 for ACS Java API by doxygen 1.3.8