Class FileUtils

java.lang.Object
  |
  +--FileUtils

public class FileUtils
extends java.lang.Object


Field Summary
static java.lang.String gif
           
static java.lang.String jpeg
           
static java.lang.String jpg
           
static java.lang.String png
           
static java.lang.String tif
           
static java.lang.String tiff
           
 
Constructor Summary
FileUtils()
           
 
Method Summary
static void copyFile(java.lang.String destfile, java.lang.String srcfile)
          Copy source file to destination file.
static java.lang.String getExtension(java.io.File f)
           
static javax.swing.ImageIcon getImage(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

jpeg

public static final java.lang.String jpeg

jpg

public static final java.lang.String jpg

gif

public static final java.lang.String gif

tiff

public static final java.lang.String tiff

tif

public static final java.lang.String tif

png

public static final java.lang.String png
Constructor Detail

FileUtils

public FileUtils()
Method Detail

getExtension

public static java.lang.String getExtension(java.io.File f)

copyFile

public static void copyFile(java.lang.String destfile,
                            java.lang.String srcfile)
                     throws java.io.IOException
Copy source file to destination file.
Throws:
java.lang.SecurityException -  
java.io.IOException -  

getImage

public static javax.swing.ImageIcon getImage(java.lang.String s)