Package org.apache.tika.parser.hwp
Class HwpTextExtractorV5
java.lang.Object
org.apache.tika.parser.hwp.HwpTextExtractorV5
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateDecryptStream
(InputStream input, Key key) void
extract
(InputStream source, Metadata metadata, XHTMLContentHandler xhtml) extract Text from HWP Stream.
-
Field Details
-
LOG
protected static org.slf4j.Logger LOG
-
-
Constructor Details
-
HwpTextExtractorV5
public HwpTextExtractorV5()
-
-
Method Details
-
extract
public void extract(InputStream source, Metadata metadata, XHTMLContentHandler xhtml) throws FileNotFoundException, IOException, TikaException, SAXException extract Text from HWP Stream.- Parameters:
source
-metadata
-xhtml
-- Throws:
FileNotFoundException
IOException
SAXException
TikaException
-
createDecryptStream
public InputStream createDecryptStream(InputStream input, Key key) throws NoSuchAlgorithmException, NoSuchPaddingException, InvalidKeyException
-