Package com.mku.fs.drive
Class VirtualDrive
java.lang.Object
com.mku.fs.drive.VirtualDrive
- Direct Known Subclasses:
AesDrive
Abstract virtual drive.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract IFileGet the private directory for this driveabstract IVirtualFilegetRoot()Get the root directory of this driveabstract voidMethod is called when unlocking the drive has failedabstract voidMethod is called when the user is authenticated
-
Constructor Details
-
VirtualDrive
public VirtualDrive()
-
-
Method Details
-
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
Get the private directory for this drive- Returns:
- The private directory
- Throws:
Exception- If an error occurs
-
getRoot
Get the root directory of this drive- Returns:
- The root directory
-