Package com.sun.jna.platform
Class FileUtils
java.lang.Object
com.sun.jna.platform.FileUtils
- Direct Known Subclasses:
- MacFileUtils,- W32FileUtils
Miscellaneous file utils not provided for by Java.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic FileUtilsbooleanhasTrash()abstract voidmoveToTrash(File... files) Move the given file to the system trash, if one is available.
- 
Constructor Details- 
FileUtilspublic FileUtils()
 
- 
- 
Method Details- 
hasTrashpublic boolean hasTrash()
- 
moveToTrashMove the given file to the system trash, if one is available.- Parameters:
- files- files to move
- Throws:
- IOException- on failure.
 
- 
getInstance
 
-