Module org.hsqldb

Interface FileAccess

  • All Known Implementing Classes:
    FileAccessRes, FileUtil

    public interface FileAccess
    Interface for abstraction of file access.
    Since:
    1.8.0
    Author:
    Ocke Janssen oj@openoffice.org
    • Method Detail

      • openInputStreamElement

        java.io.InputStream openInputStreamElement​(java.lang.String streamName)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • openOutputStreamElement

        java.io.OutputStream openOutputStreamElement​(java.lang.String streamName)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • openOutputStreamElementAppend

        java.io.OutputStream openOutputStreamElementAppend​(java.lang.String streamName)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • isStreamElement

        boolean isStreamElement​(java.lang.String elementName)
      • createParentDirs

        void createParentDirs​(java.lang.String filename)
      • removeElement

        boolean removeElement​(java.lang.String filename)
      • renameElement

        boolean renameElement​(java.lang.String oldName,
                              java.lang.String newName)
      • renameElementOrCopy

        boolean renameElementOrCopy​(java.lang.String oldName,
                                    java.lang.String newName,
                                    EventLogInterface logger)
      • getFileSync

        FileAccess.FileSync getFileSync​(java.io.OutputStream os)
                                 throws java.io.IOException
        Throws:
        java.io.IOException