Interface VirtualFileConnection

    • Method Detail

      • getFiles

        VirtualFile[] getFiles​(String namePattern)
                        throws TranslatorException
        Return an array of files by a given file pattern
        Parameters:
        namePattern - - the syntax and pattern. The wildcard character * will initially be treated as a literal match (there is currently no escaping supported), then as a non-recursive glob search.
        For example the search /* would return all of the top level directory contents - but not expand that to any subdirectories. The wildcard may be used in both directories and filenames.
        Returns:
        the virtual files found or null if a non-glob file match could not be found
        Throws:
        TranslatorException
      • areFilesUsableAfterClose

        default boolean areFilesUsableAfterClose()