Interface FileTreeDataViews.Converter<R>

  • Type Parameters:
    R - the generic type generated from the path.
    Enclosing class:
    FileTreeDataViews

    public static interface FileTreeDataViews.Converter<R>
    Converts a Path into an arbitrary value to be cached.
    • Method Detail

      • apply

        R apply​(TypedPath typedPath)
         throws java.io.IOException
        Convert the typedPath to a value.
        Parameters:
        typedPath - the typedPath to convert
        Returns:
        the converted value
        Throws:
        java.io.IOException - when the value can't be computed