Class 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 java.lang.String FS_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 currentTime()
      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 getName()
      The getName() returns the name of the FS module.
      java.io.File getTempFile()  
      ISqlJetFile memJournalOpen()
      Open a memory journal file.
      ISqlJetFile 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