public class UserFileHandle extends java.lang.Object
Constructor and Description |
---|
UserFileHandle() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getFileContent()
Retrieve the contents of the users configuration file.
|
void |
printFile(byte[] bytes)
Print one byte array in File
Encrypt that file with the key
|
public UserFileHandle() throws java.io.IOException
java.io.IOException
public void printFile(byte[] bytes) throws java.lang.Exception
bytes
- java.lang.Exception
public byte[] getFileContent() throws java.io.IOException
java.io.IOException
- on a failed attempt to read the file