Example usage for Java org.apache.poi.poifs.filesystem DocumentFactoryHelper fields, constructors, methods, implement or subclass
The text is from its open source code.
InputStream | getDecryptedStream(final POIFSFileSystem fs, String password) Wrap the OLE2 data in the POIFSFileSystem into a decrypted stream by using the given password. |
InputStream | getDecryptedStream(final DirectoryNode root, String password) Wrap the OLE2 data of the DirectoryNode into a decrypted stream by using the given password. |
boolean | hasOOXMLHeader(InputStream inp) 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 FileMagic#prepareToCheckMagic(InputStream) to wrap it and make sure to always use that, and not the original! |