Documentation of 'org.neodatis.tool.wrappers.io.OdbFileIO' Java class
OdbFileIO
org.neodatis.tool.wrappers.io

Class OdbFileIO

  • All Implemented Interfaces:
    IO


    public class OdbFileIO
    extends java.lang.Object
    implements IO
    • Constructor Summary

      Constructors 
      Constructor and Description
      OdbFileIO() 
      OdbFileIO(java.lang.String fileName, boolean canWrite, java.lang.String password) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close() 
      void flushIO() 
      void init(java.lang.String fileName, boolean canWrite, java.lang.String password) 
      boolean isLocked() 
      long length() 
      boolean lockFile() 
      int read() 
      long read(byte[] array, int offset, int size) 
      void seek(long position) 
      boolean unlockFile() 
      void write(byte b) 
      void write(byte[] bs, int offset, int size) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OdbFileIO

        public OdbFileIO()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • OdbFileIO

        public OdbFileIO(java.lang.String fileName,
                         boolean canWrite,
                         java.lang.String password)
                  throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • init

        public void init(java.lang.String fileName,
                         boolean canWrite,
                         java.lang.String password)
                  throws java.io.IOException
        Specified by:
        init in interface IO
        Throws:
        java.io.IOException
      • length

        public long length()
                    throws java.io.IOException
        Specified by:
        length in interface IO
        Throws:
        java.io.IOException
      • seek

        public void seek(long position)
                  throws java.io.IOException
        Specified by:
        seek in interface IO
        Throws:
        java.io.IOException
      • write

        public void write(byte b)
                   throws java.io.IOException
        Specified by:
        write in interface IO
        Throws:
        java.io.IOException
      • write

        public void write(byte[] bs,
                          int offset,
                          int size)
                   throws java.io.IOException
        Specified by:
        write in interface IO
        Throws:
        java.io.IOException
      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in interface IO
        Throws:
        java.io.IOException
      • read

        public long read(byte[] array,
                         int offset,
                         int size)
                  throws java.io.IOException
        Specified by:
        read in interface IO
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface IO
        Throws:
        java.io.IOException
      • lockFile

        public boolean lockFile()
                         throws java.io.IOException
        Specified by:
        lockFile in interface IO
        Throws:
        java.io.IOException
      • unlockFile

        public boolean unlockFile()
                           throws java.io.IOException
        Specified by:
        unlockFile in interface IO
        Throws:
        java.io.IOException
      • isLocked

        public boolean isLocked()
        Specified by:
        isLocked in interface IO
      • flushIO

        public void flushIO()
                     throws java.io.IOException
        Specified by:
        flushIO in interface IO
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.