W32FileUtils (JNA API)

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jna.platform.win32
Class W32FileUtils

    java.lang.Object
      com.sun.jna.platform.FileUtils
          com.sun.jna.platform.win32.W32FileUtils

    public class W32FileUtils

extends FileUtils

Constructor Summary
`W32FileUtils()`

Method Summary
`boolean` | `hasTrash()`
`void` | `moveToTrash(File[] files)` Move the given file to the system trash, if one is available.

Methods inherited from class com.sun.jna.platform.FileUtils
`getInstance`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### W32FileUtils

    public W32FileUtils()

Method Detail

### hasTrash

    public boolean hasTrash()

  Overrides:
    `hasTrash` in class `FileUtils`

### moveToTrash

    public void moveToTrash(File[] files)
                     throws IOException

  Description copied from class: `FileUtils`
  Move the given file to the system trash, if one is available. Throws an exception on failure.

  Specified by:
    `moveToTrash` in class `FileUtils`
  Throws:
    `IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| JNA API 3.3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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