JNA API 3.2.4

com.sun.jna.examples

Class FileUtils



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

      Constructors 
      Constructor and Description
      FileUtils() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static FileUtils getInstance() 
      boolean hasTrash() 
      abstract void moveToTrash(java.io.File[] files)
      Move the given file to the system trash, if one is available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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. Throws an exception on failure.
        Throws:
        java.io.IOException
      • getInstance

        public static FileUtils getInstance()
JNA API 3.2.4

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