org.rhq.plugins.jbossas.util
Class FileNameUtility

java.lang.Object
  extended by org.rhq.plugins.jbossas.util.FileNameUtility

public class FileNameUtility
extends java.lang.Object

Author:
Mark Spritzler

Constructor Summary
FileNameUtility()
           
 
Method Summary
static java.lang.String formatFileName(java.lang.String toBeFormatted)
          try to weed out characters which are not suitable for inclusion in a filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileNameUtility

public FileNameUtility()
Method Detail

formatFileName

public static java.lang.String formatFileName(java.lang.String toBeFormatted)
try to weed out characters which are not suitable for inclusion in a filename. It will replace all characters which are not letters, digits and part of the basic latin character set with underscores.

Parameters:
toBeFormatted -
Returns:
formattedFileName


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.