Skip navigation links
JNA API 5.6.0
com.sun.jna.platform

Class FileUtils

  • Direct Known Subclasses:
    MacFileUtils, W32FileUtils


    public abstract class FileUtils
    extends java.lang.Object
    Miscellaneous file utils not provided for by Java.
    • Constructor Detail

      • FileUtils

        public FileUtils()
    • Method Detail

      • hasTrash

        public boolean hasTrash()
      • moveToTrash

        public abstract void moveToTrash(java.io.File... files)
                                  throws java.io.IOException
        Move the given file to the system trash, if one is available.
        Parameters:
        files - files to move
        Throws:
        java.io.IOException - on failure.
      • getInstance

        public static FileUtils getInstance()
JNA API 5.6.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.