issrg.utils.handler
Class Config

java.lang.Object
  extended by issrg.utils.handler.Config

public class Config
extends java.lang.Object

Author:
ls97

Constructor Summary
Config()
          Creates a new instance of config
 
Method Summary
 java.lang.String getURL(java.lang.String fileName)
          to get a valid URL according to a filename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config()
Creates a new instance of config

Method Detail

getURL

public java.lang.String getURL(java.lang.String fileName)
                        throws ConfigException
to get a valid URL according to a filename

Parameters:
fileName, - which is a file name. The file is allocated in the server at the same directory as this class is
Returns:
in, otherwise an exception is thrown
Throws:
ConfigException