Package com.mku.fs.drive
Class VirtualDrive
- java.lang.Object
-
- com.mku.fs.drive.VirtualDrive
-
- Direct Known Subclasses:
AesDrive
public abstract class VirtualDrive extends java.lang.ObjectAbstract virtual drive.
-
-
Constructor Summary
Constructors Constructor Description VirtualDrive()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract IFilegetPrivateDir()Get the private directory for this driveabstract IVirtualFilegetRoot()Get the root directory of this driveabstract voidonUnlockError()Method is called when unlocking the drive has failedabstract voidonUnlockSuccess()Method is called when the user is authenticated
-
-
-
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
-
-