| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static InputStream | Returns: A stream for reading the decrypted dataThe OLE2 stream for the document fs, String The password, null if the default password should be used password)Wrap the OLE2 data in the |
| public static InputStream | Returns: A stream for reading the decrypted dataThe OLE2 directory node for the document root, String The password, null if the default password should be used password)Wrap the OLE2 data of the DirectoryNode into a decrypted stream by using the given password. |
| public static boolean | hasOOXMLHeader(InputStream
An InputStream which supports either mark/reset inp)
Deprecated
in 3.17-beta2, use
FileMagic#valueOf(InputStream) == FileMagic.OOXML instead
Checks that the supplied InputStream (which MUST support mark and reset) has a OOXML (zip) header at the start of it. |
| DocumentFactoryHelper | back to summary |
|---|---|
| private DocumentFactoryHelper() | |
| getDecryptedStream | back to summary |
|---|---|
| public static InputStream getDecryptedStream(final POIFSFileSystem fs, String password) throws IOException Wrap the OLE2 data in the
| |
| getDecryptedStream | back to summary |
|---|---|
| public static InputStream getDecryptedStream(final DirectoryNode root, String password) throws IOException Wrap the OLE2 data of the DirectoryNode into a decrypted stream by using the given password.
| |
| hasOOXMLHeader | back to summary |
|---|---|
| public static boolean hasOOXMLHeader(InputStream inp) throws IOException
Deprecated in 3.17-beta2, use Checks that the supplied InputStream (which MUST support mark and reset) has a OOXML (zip) header at the start of it.
If unsure if your InputStream does support mark / reset,
use
| |