Interface FileSystem.ForNio2CapableVm.Dispatcher

Enclosing class:
FileSystem.ForNio2CapableVm

@Proxied("java.io.File") protected static interface FileSystem.ForNio2CapableVm.Dispatcher
A dispatcher to resolve a File to a java.nio.file.Path.
  • Method Summary

    Modifier and Type
    Method
    Description
    toPath(File value)
    Resolves a File to a java.nio.file.Path.
  • Method Details

    • toPath

      Object toPath(File value) throws IOException
      Resolves a File to a java.nio.file.Path.
      Parameters:
      value - The file to convert.
      Returns:
      The transformed java.nio.file.Path.
      Throws:
      IOException - If an I/O exception occurs.