|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjava.io.InputStream
net.sf.mpxj.mpp.EncryptedDocumentInputStream
final class EncryptedDocumentInputStream
This class wraps the POI DocumentInputStream class
to allow data to be decrypted before passing
it back to the caller.
| Constructor Summary | |
|---|---|
EncryptedDocumentInputStream(DocumentEntry entry,
int mask)
Constructor. |
|
| Method Summary | |
|---|---|
int |
available()
|
void |
close()
|
void |
mark(int readlimit)
|
boolean |
markSupported()
|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
void |
reset()
|
long |
skip(long n)
|
| Methods inherited from class java.io.InputStream |
|---|
read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncryptedDocumentInputStream(DocumentEntry entry,
int mask)
throws java.io.IOException
entry - file entrymask - the mask used to decrypt the stream.
java.io.IOException| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int available()
available in class java.io.InputStreampublic void close()
close in interface java.io.Closeableclose in class java.io.InputStreampublic void mark(int readlimit)
mark in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic void reset()
reset in class java.io.InputStream
public long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||