Class SqlJetFileUtil
java.lang.Object
org.tmatesoft.sqljet.core.internal.fs.util.SqlJetFileUtil
public class SqlJetFileUtil
extends java.lang.Object
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
deleteFile
(java.io.File file) static boolean
deleteFile
(java.io.File file, boolean sync) static java.io.RandomAccessFile
openFile
(java.io.File file, java.lang.String mode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ATTEMPTS_COUNT
public static final int ATTEMPTS_COUNT -
OS
-
-
Constructor Details
-
SqlJetFileUtil
public SqlJetFileUtil()
-
-
Method Details
-
deleteFile
public static boolean deleteFile(java.io.File file) -
deleteFile
public static boolean deleteFile(java.io.File file, boolean sync) -
openFile
public static java.io.RandomAccessFile openFile(java.io.File file, java.lang.String mode) throws java.io.FileNotFoundException - Throws:
java.io.FileNotFoundException
-