org.emboss.jemboss.soap
Class MakeFileSafe

java.lang.Object
  extended byorg.emboss.jemboss.soap.MakeFileSafe

public class MakeFileSafe
extends java.lang.Object

Create a sanitised filename. All undesirable characters in the filename are replaced by underscores.


Field Summary
private  java.lang.String safeFileName
           
 
Constructor Summary
MakeFileSafe(java.lang.String unSafeFileName)
           
 
Method Summary
 java.lang.String getSafeFileName()
          Get the safe/sanitised file name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

safeFileName

private java.lang.String safeFileName
Constructor Detail

MakeFileSafe

public MakeFileSafe(java.lang.String unSafeFileName)
Parameters:
unSafeFileName - unsanitised name of the file
Method Detail

getSafeFileName

public java.lang.String getSafeFileName()
Get the safe/sanitised file name

Returns:
sanitised file name