Class MSEmbeddedStreamTranslator
- java.lang.Object
-
- org.apache.tika.extractor.microsoft.MSEmbeddedStreamTranslator
-
- All Implemented Interfaces:
EmbeddedStreamTranslator
public class MSEmbeddedStreamTranslator extends Object implements EmbeddedStreamTranslator
-
-
Constructor Summary
Constructors Constructor Description MSEmbeddedStreamTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copy(org.apache.poi.poifs.filesystem.DirectoryEntry sourceDir, org.apache.poi.poifs.filesystem.DirectoryEntry destDir)
boolean
shouldTranslate(InputStream inputStream, Metadata metadata)
InputStream
translate(InputStream inputStream, Metadata metadata)
-
-
-
Method Detail
-
shouldTranslate
public boolean shouldTranslate(InputStream inputStream, Metadata metadata) throws IOException
- Specified by:
shouldTranslate
in interfaceEmbeddedStreamTranslator
- Throws:
IOException
-
translate
public InputStream translate(InputStream inputStream, Metadata metadata) throws IOException
- Specified by:
translate
in interfaceEmbeddedStreamTranslator
- Throws:
IOException
-
copy
protected void copy(org.apache.poi.poifs.filesystem.DirectoryEntry sourceDir, org.apache.poi.poifs.filesystem.DirectoryEntry destDir) throws IOException
- Throws:
IOException
-
-