Package com.sun.jna.platform
Klasse FileUtils
java.lang.Object
com.sun.jna.platform.FileUtils
- Bekannte direkte Unterklassen:
MacFileUtils,W32FileUtils
Miscellaneous file utils not provided for by Java.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic FileUtilsbooleanhasTrash()abstract voidmoveToTrash(File... files) Move the given file to the system trash, if one is available.
-
Konstruktordetails
-
FileUtils
public FileUtils()
-
-
Methodendetails
-
hasTrash
public boolean hasTrash() -
moveToTrash
Move the given file to the system trash, if one is available.- Parameter:
files- files to move- Löst aus:
IOException- on failure.
-
getInstance
-