Package org.apache.poi.ss.extractor
Class EmbeddedExtractor
java.lang.Object
org.apache.poi.ss.extractor.EmbeddedExtractor
- All Implemented Interfaces:
Iterable<EmbeddedExtractor>
- Direct Known Subclasses:
EmbeddedExtractor.Ole10Extractor
This extractor class tries to identify various embedded documents within Excel files
and provide them via a common interface, i.e. the EmbeddedData instances
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExtract(DirectoryNode source) booleancanExtract(Picture source) extractAll(Sheet sheet) extractOne(DirectoryNode src) extractOne(Picture src) static intiterator()static voidsetMaxRecordLength(int length) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
EmbeddedExtractor
public EmbeddedExtractor()
-
-
Method Details
-
setMaxRecordLength
public static void setMaxRecordLength(int length) - Parameters:
length- the max record length allowed for EmbeddedExtractor
-
getMaxRecordLength
public static int getMaxRecordLength()- Returns:
- the max record length allowed for EmbeddedExtractor
-
iterator
- Specified by:
iteratorin interfaceIterable<EmbeddedExtractor>- Returns:
- the list of known extractors, if you provide custom extractors, override this method
-
extractOne
- Throws:
IOException
-
extractOne
- Throws:
IOException
-
extractAll
- Throws:
IOException
-
canExtract
-
canExtract
-