issrg.pba.management
Class UtilityManagement

java.lang.Object
  extended by issrg.pba.management.UtilityManagement

public final class UtilityManagement
extends java.lang.Object

general methods used by the PERMIS management (manager side) and the PERMIS installation (agent side).

Version:
0.1.2008.01.23
Author:
mfb4@kent.ac.uk

Method Summary
static int checkPortNumber(java.lang.String value)
          checks that the port number is in the range 0 to 65534 throws a PMException if there is a problem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkPortNumber

public static int checkPortNumber(java.lang.String value)
                           throws PMException
checks that the port number is in the range 0 to 65534 throws a PMException if there is a problem.

Parameters:
value - takes a string containing the port number
Returns:
returns the integer number
Throws:
PMException - if the port number can not be represented by 16 bits
Since:
0.1.2008.01.26