JNA API 3.5.1
com.sun.jna.platform

Class FileUtils

  • Direct Known Subclasses:
    MacFileUtils, W32FileUtils


    public abstract class FileUtils
    extends 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(File[] files)
                                  throws IOException
        Move the given file to the system trash, if one is available. Throws an exception on failure.
        Throws:
        IOException
      • getInstance

        public static FileUtils getInstance()
JNA API 3.5.1

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