Package com.sun.jna.platform
Class FileUtils
- java.lang.Object
- 
- com.sun.jna.platform.FileUtils
 
- 
- Direct Known Subclasses:
- MacFileUtils,- W32FileUtils
 
 public abstract class FileUtils extends java.lang.ObjectMiscellaneous file utils not provided for by Java.
- 
- 
Constructor SummaryConstructors Constructor Description FileUtils()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static FileUtilsgetInstance()booleanhasTrash()abstract voidmoveToTrash(java.io.File... files)Move the given file to the system trash, if one is available.
 
- 
- 
- 
Method Detail- 
hasTrashpublic boolean hasTrash() 
 - 
moveToTrashpublic abstract void moveToTrash(java.io.File... files) throws java.io.IOExceptionMove the given file to the system trash, if one is available.- Parameters:
- files- files to move
- Throws:
- java.io.IOException- on failure.
 
 - 
getInstancepublic static FileUtils getInstance() 
 
- 
 
-