Documentation of 'org.neodatis.odb.core.layers.layer3.IO' Java class
IO
org.neodatis.odb.core.layers.layer3

Interface IO

  • All Known Implementing Classes:
    AesMd5Cypher, OdbFileIO


    public interface IO
    The basic IO interface for basic IO operation like reading and writing bytes
    • Method Detail

      • init

        void init(java.lang.String fileName,
                  boolean canWrite,
                  java.lang.String password)
           throws java.io.FileNotFoundException,
                  java.lang.Exception
        Throws:
        java.io.FileNotFoundException
        java.lang.Exception
      • seek

        void seek(long pos)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        void close()
            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        void write(byte b)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        void write(byte[] bytes,
                   int offset,
                   int size)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        long read(byte[] bytes,
                  int offset,
                  int size)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        int read()
          throws java.io.IOException
        Throws:
        java.io.IOException
      • length

        long length()
             throws java.io.IOException
        Throws:
        java.io.IOException
      • lockFile

        boolean lockFile()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • unlockFile

        boolean unlockFile()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • isLocked

        boolean isLocked()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • flushIO

        void flushIO()
              throws java.io.IOException
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.