|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.utils.EncryptionUtils
public class EncryptionUtils
INTERNAL: Utilities for encrypting files. Replaces the old EncryptionWriter.
| Constructor Summary | |
|---|---|
EncryptionUtils()
|
|
| Method Summary | |
|---|---|
static void |
encrypt(java.io.File file)
INTERNAL: Reads the file into memory, encrypting it in the process, then writes the encrypted data back out to the file. |
static void |
encrypt(java.io.File infile,
java.io.File outfile)
INTERNAL: Reads in the infile and writes the encrypted result into the outfile. |
static void |
encrypt(java.io.InputStream in,
java.io.OutputStream out)
INTERNAL: Reads all the data in the InputStream, encrypts it, and writes it to the OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptionUtils()
| Method Detail |
|---|
public static void encrypt(java.io.File file)
throws java.io.IOException
java.io.IOException
public static void encrypt(java.io.File infile,
java.io.File outfile)
throws java.io.IOException
java.io.IOException
public static void encrypt(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||