issrg.config.files
Class ValidFileName

java.lang.Object
  extended by issrg.config.files.ValidFileName

public class ValidFileName
extends java.lang.Object

Author:
ls97

Constructor Summary
ValidFileName()
          Creates a new instance of ValidFileName
 
Method Summary
 java.lang.String getName(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

ValidFileName

public ValidFileName()
Creates a new instance of ValidFileName

Method Detail

getName

public java.lang.String getName(java.lang.String fileName)
                         throws ValidFileNameException
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:
ValidFileNameException