public class dwgParser extends AbstractParser implements Parser
Parser.Failure
Modifier and Type | Field and Description |
---|---|
private static byte[] |
HEADER_2000_PROPERTIES_MARKER |
private static java.lang.String |
HEADER_2000_PROPERTIES_MARKER_STR |
log, SUPPORTED_EXTENSIONS, SUPPORTED_MIME_TYPES
Constructor and Description |
---|
dwgParser()
How far to skip after the last standard property, before
we find any custom properties that might be there.
|
Modifier and Type | Method and Description |
---|---|
Document[] |
parse(DigestURL location,
java.lang.String mimeType,
java.lang.String charset,
VocabularyScraper scraper,
int timezoneOffset,
java.io.InputStream source)
parse an input stream
|
equals, getName, hashCode, singleList, supportedExtensions, supportedMimeTypes
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
equals, getName, hashCode, supportedExtensions, supportedMimeTypes
private static final java.lang.String HEADER_2000_PROPERTIES_MARKER_STR
private static final byte[] HEADER_2000_PROPERTIES_MARKER
public dwgParser()
public Document[] parse(DigestURL location, java.lang.String mimeType, java.lang.String charset, VocabularyScraper scraper, int timezoneOffset, java.io.InputStream source) throws Parser.Failure, java.lang.InterruptedException
Parser
parse
in interface Parser
location
- the url of the sourcemimeType
- the mime type of the source, if knowncharset
- the charset of the source, if knownscraper
- an entity scraper to detect facets from text annotation contextsource
- a input streamParser.Failure
java.lang.InterruptedException