raja.util
Class FileHelper

java.lang.Object
  |
  +--raja.util.FileHelper

public final class FileHelper
extends Object


Method Summary
static String getSuffix(File f)
          Returns the suffix of the given file's name.
static String getSuffix(String fileName)
          Returns the suffix of the given file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSuffix

public static String getSuffix(String fileName)
Returns the suffix of the given file name. This method returns null if the given file name has no suffix.

getSuffix

public static String getSuffix(File f)
Returns the suffix of the given file's name. This method returns null if the given file's name has no suffix.