Module org.hsqldb

Class FileAccessRes

  • All Implemented Interfaces:
    FileAccess

    public class FileAccessRes
    extends java.lang.Object
    implements FileAccess
    Implementation of FileAccess for resources.
    Since:
    1.8.0
    Author:
    Fred Toussi (fredt@users dot sourceforge.net)
    • Constructor Detail

      • FileAccessRes

        public FileAccessRes()
    • Method Detail

      • isStreamElement

        public boolean isStreamElement​(java.lang.String fileName)
        Specified by:
        isStreamElement in interface FileAccess
      • openInputStreamElement

        public java.io.InputStream openInputStreamElement​(java.lang.String fileName)
                                                   throws java.io.IOException
        Specified by:
        openInputStreamElement in interface FileAccess
        Throws:
        java.io.IOException
      • createParentDirs

        public void createParentDirs​(java.lang.String filename)
        Specified by:
        createParentDirs in interface FileAccess
      • removeElement

        public boolean removeElement​(java.lang.String filename)
        Specified by:
        removeElement in interface FileAccess
      • renameElement

        public boolean renameElement​(java.lang.String oldName,
                                     java.lang.String newName)
        Specified by:
        renameElement in interface FileAccess
      • openOutputStreamElement

        public java.io.OutputStream openOutputStreamElement​(java.lang.String streamName)
                                                     throws java.io.IOException
        Specified by:
        openOutputStreamElement in interface FileAccess
        Throws:
        java.io.IOException
      • openOutputStreamElementAppend

        public java.io.OutputStream openOutputStreamElementAppend​(java.lang.String streamName)
                                                           throws java.io.IOException
        Specified by:
        openOutputStreamElementAppend in interface FileAccess
        Throws:
        java.io.IOException