Class VirtualDrive

  • Direct Known Subclasses:
    AesDrive

    public abstract class VirtualDrive
    extends java.lang.Object
    Abstract virtual drive.
    • Constructor Summary

      Constructors 
      Constructor Description
      VirtualDrive()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract IFile getPrivateDir()
      Get the private directory for this drive
      abstract IVirtualFile getRoot()
      Get the root directory of this drive
      abstract void onUnlockError()
      Method is called when unlocking the drive has failed
      abstract void onUnlockSuccess()
      Method is called when the user is authenticated
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VirtualDrive

        public VirtualDrive()
    • Method Detail

      • onUnlockSuccess

        public abstract void onUnlockSuccess()
        Method is called when the user is authenticated
      • onUnlockError

        public abstract void onUnlockError()
        Method is called when unlocking the drive has failed
      • getPrivateDir

        public abstract IFile getPrivateDir()
                                     throws java.lang.Exception
        Get the private directory for this drive
        Returns:
        The private directory
        Throws:
        java.lang.Exception - If an error occurs
      • getRoot

        public abstract IVirtualFile getRoot()
        Get the root directory of this drive
        Returns:
        The root directory