org.asunder.util
Class PasswordProtectedObjectsFile
java.lang.Object
org.asunder.util.PasswordProtectedObjectsFile
- Direct Known Subclasses:
- AsunderBootHandles, AsunderConfig
public abstract class PasswordProtectedObjectsFile
- extends java.lang.Object
- Author:
- simms2k
Constructor Summary |
protected |
PasswordProtectedObjectsFile(java.lang.String fileName,
char[] passwd)
Creates a new instance of PasswordProtectedObjectsFile |
Method Summary |
protected void |
close()
|
protected void |
openRead()
|
protected void |
openWrite(boolean append)
|
protected java.lang.Object |
read()
|
protected void |
write(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordProtectedObjectsFile
protected PasswordProtectedObjectsFile(java.lang.String fileName,
char[] passwd)
throws java.security.GeneralSecurityException
- Creates a new instance of PasswordProtectedObjectsFile
- Throws:
java.security.GeneralSecurityException
openWrite
protected void openWrite(boolean append)
throws java.io.IOException,
java.security.GeneralSecurityException
- Throws:
java.io.IOException
java.security.GeneralSecurityException
write
protected void write(java.lang.Object o)
throws java.io.IOException
- Throws:
java.io.IOException
openRead
protected void openRead()
throws java.io.IOException,
java.security.GeneralSecurityException
- Throws:
java.io.IOException
java.security.GeneralSecurityException
read
protected java.lang.Object read()
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
close
protected void close()
throws java.io.IOException
- Throws:
java.io.IOException