org.umu.macow.pip
Class PIPConstants

java.lang.Object
  extended by org.umu.macow.pip.PIPConstants

public class PIPConstants
extends java.lang.Object

This is the class used to configurate the parameters related to PIP entity. User: jmalcaraz@um.es - University Of Murcia


Field Summary
static java.lang.String PIP_EVENT_MANAGER_FILE_CONFIG_PATH
           
static java.lang.String PIP_URL_IP
           
static java.lang.String PIP_URL_PORT
           
static java.lang.String PIP_URL_SERVICENAME
           
 
Constructor Summary
PIPConstants()
           
 
Method Summary
static void loadProperties(java.lang.String path, java.lang.String configFile)
          This method load the configuration of a file
static void saveProperties(java.lang.String configFile)
          This method stores the configuration in a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIP_URL_IP

public static java.lang.String PIP_URL_IP

PIP_URL_PORT

public static java.lang.String PIP_URL_PORT

PIP_URL_SERVICENAME

public static java.lang.String PIP_URL_SERVICENAME

PIP_EVENT_MANAGER_FILE_CONFIG_PATH

public static java.lang.String PIP_EVENT_MANAGER_FILE_CONFIG_PATH
Constructor Detail

PIPConstants

public PIPConstants()
Method Detail

loadProperties

public static void loadProperties(java.lang.String path,
                                  java.lang.String configFile)
This method load the configuration of a file

Parameters:
path - The path of the file (folder)
configFile - The name of the file

saveProperties

public static void saveProperties(java.lang.String configFile)
This method stores the configuration in a file

Parameters:
configFile - The name of the path that will be store a configuration file