alma::acs::util::IorParser Class Reference

List of all members.

Classes

class  CDR
class  IOR

Static Public Member Functions

static void main (String[] args)
static String[] parse (String hexIOR) throws IllegalArgumentException

Private Member Functions

 IorParser ()

Detailed Description

Code provided by msekoran, mschilli added method parse(String).


Constructor & Destructor Documentation

alma::acs::util::IorParser::IorParser (  )  [inline, private]

Member Function Documentation

static void alma::acs::util::IorParser::main ( String[]  args  )  [inline, static]

Prints info on the specified IOR. If no IOR is given, a demo IOR will be used.

References parse().

static String [] alma::acs::util::IorParser::parse ( String  hexIOR  )  throws IllegalArgumentException [inline, static]

Parses the specified hex-IOR and returns info about it. If parsing fails for any reason (be it even an algorithmic bug), an IllegalArgumentException will be thrown.

Returns:
a string array (host, port)
Exceptions:
IllegalArgumentException If parsing fails

References alma::acs::util::IorParser::IOR::_numProfiles, and alma::acs::util::IorParser::IOR::_profiles.

Referenced by main().


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

Generated by  doxygen 1.6.2