Fred Cahill - 2005-10-29

Logged In: YES
user_id=552328

Tomas tested the following code which works, the following
solution is a more platform independent solution.

/**
* This method extracts the file name from a directory.
* @param sFileName String
*/
private String setShortFileName(String sFileName) {
if (sFileName == null) {
_shortFileName = null;
return _shortFileName;
}
File f=new File(sFileName);
_shortFileName = f.getName();
return _shortFileName;
}

Thanks
Fred