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 Detail

      • toPath

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