Java org.apache.poi.poifs.filesystem DocumentFactoryHelper fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.poifs.filesystem DocumentFactoryHelper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.poifs.filesystem DocumentFactoryHelper.

The text is from its open source code.

Method

InputStreamgetDecryptedStream(final POIFSFileSystem fs, String password)
Wrap the OLE2 data in the POIFSFileSystem into a decrypted stream by using the given password.
InputStreamgetDecryptedStream(final DirectoryNode root, String password)
Wrap the OLE2 data of the DirectoryNode into a decrypted stream by using the given password.
booleanhasOOXMLHeader(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!