org.rhq.plugins.jbossas.util
Class FileNameUtility

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

public class FileNameUtility
extends Object

Author:
Mark Spritzler

Constructor Summary
FileNameUtility()
           
 
Method Summary
static String formatFileName(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 String formatFileName(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-2012 Red Hat, Inc.. All Rights Reserved.