DirectoryEntry root = ext.getRoot(); if(root == null) { throw new IllegalStateException("The extractor didn't know which POIFS it came from!");
/** * Creates a new text extractor for the given document * * @param document The POIDocument to use in this extractor. */ public POIOLE2TextExtractor(POIDocument document) { this.document = document; // Ensure any underlying resources, such as open files, // will get cleaned up if the user calls #close() setFilesystem(document); }
DirectoryEntry root = ext.getRoot(); if (root == null) { throw new IllegalStateException("The extractor didn't know which POIFS it came from!");
public EventBasedExcelExtractor(POIFSFileSystem fs) { this(fs.getRoot()); super.setFilesystem(fs); }
DirectoryEntry root = ext.getRoot(); if (root == null) { throw new IllegalStateException("The extractor didn't know which POIFS it came from!");
/** * Creates a new text extractor for the given document * * @param document The POIDocument to use in this extractor. */ public POIOLE2TextExtractor(POIDocument document) { this.document = document; // Ensure any underlying resources, such as open files, // will get cleaned up if the user calls #close() setFilesystem(document); }
DirectoryEntry root = ext.getRoot(); if(root == null) { throw new IllegalStateException("The extractor didn't know which POIFS it came from!");
public EventBasedExcelExtractor(POIFSFileSystem fs) { this(fs.getRoot()); super.setFilesystem(fs); }
DirectoryEntry root = ext.getRoot(); if (root == null) { throw new IllegalStateException("The extractor didn't know which POIFS it came from!");