Class SqlJetFileSystem

java.lang.Object
org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystem
All Implemented Interfaces:
ISqlJetFileSystem

public class SqlJetFileSystem extends java.lang.Object implements ISqlJetFileSystem
Default implementation of ISqlJetFileSystem.
Author:
TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final java.lang.String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    access(java.io.File path, SqlJetFileAccesPermission permission)
    The flags argument to access() may be SqlJetFileAccesPermission.EXISTS to test for the existence of a file, or SqlJetFileAccesPermission.READWRITE to test whether a file is readable and writable, or SqlJetFileAccesPermission#READ to test whether a file is at least readable.
    long
    The currentTime() method returns a Julian Day Number for the current date and time.
    boolean
    delete(java.io.File path, boolean sync)
    Delete the file.
    java.lang.String
    getFullPath(java.io.File filename)
     
    java.lang.String
    The getName() returns the name of the FS module.
    java.io.File
     
    Open a memory journal file.
    open(java.io.File path, SqlJetFileType type, java.util.Set<SqlJetFileOpenPermission> permissions)
    The flags argument to open() includes all set in the flags argument to ISqlJet.open().
    byte[]
    randomness(int numBytes)
    The randomness() function returns numBytes bytes of good-quality randomness.
    long
    sleep(long microseconds)
    The sleep() method causes the calling thread to sleep for at least the number of microseconds given.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait