Interface VirtualFileConnection

  • All Superinterfaces:
    org.teiid.resource.api.Connection
    All Known Implementing Classes:
    FtpFileConnection

    public interface VirtualFileConnection
    extends org.teiid.resource.api.Connection
    Simple interface for the filesystem
    • Method Detail

      • getFiles

        VirtualFile[] getFiles​(String namePattern)
                        throws org.teiid.translator.TranslatorException
        Return a list of files by a given file pattern
        Parameters:
        namePattern - - the syntax and pattern
        Returns:
        Throws:
        org.teiid.translator.TranslatorException
      • add

        void add​(InputStream in,
                 String path)
          throws org.teiid.translator.TranslatorException
        Add a file
        Throws:
        org.teiid.translator.TranslatorException
      • remove

        boolean remove​(String path)
                throws org.teiid.translator.TranslatorException
        Remove a file
        Parameters:
        path -
        Returns:
        Throws:
        org.teiid.translator.TranslatorException