org.neodatis.tool.wrappers.io
Class OdbFileIO
- java.lang.Object
-
- org.neodatis.tool.wrappers.io.OdbFileIO
-
-
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 voidclose()voidflushIO()voidinit(java.lang.String fileName, boolean canWrite, java.lang.String password)booleanisLocked()longlength()booleanlockFile()intread()longread(byte[] array, int offset, int size)voidseek(long position)booleanunlockFile()voidwrite(byte b)voidwrite(byte[] bs, int offset, int size)
-
-
-
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
-
length
public long length() throws java.io.IOException
-
seek
public void seek(long position) throws java.io.IOException
-
write
public void write(byte b) throws java.io.IOException
-
write
public void write(byte[] bs, int offset, int size) throws java.io.IOException
-
read
public int read() throws java.io.IOException
-
read
public long read(byte[] array, int offset, int size) throws java.io.IOException
-
close
public void close() throws java.io.IOException
-
lockFile
public boolean lockFile() throws java.io.IOException
-
unlockFile
public boolean unlockFile() throws java.io.IOException- Specified by:
unlockFilein interfaceIO- Throws:
java.io.IOException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG