public class HTMLResourceFactory extends java.lang.Object implements ResourceFactory
| Modifier and Type | Field and Description |
|---|---|
protected static int |
CHARSET_GUESS_CHUNK_SIZE |
protected CharsetDetector |
charSetDetector |
protected static java.lang.String |
HTTP_HEADER_PATH |
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
HTMLResourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
getResource(java.io.InputStream is,
MetaData parentMetaData,
ResourceContainer container)
Attempts to create a Resource from the InputStream
|
public static final org.apache.commons.logging.Log LOG
protected static final int CHARSET_GUESS_CHUNK_SIZE
protected static final java.lang.String HTTP_HEADER_PATH
protected CharsetDetector charSetDetector
public Resource getResource(java.io.InputStream is, MetaData parentMetaData, ResourceContainer container) throws ResourceParseException, java.io.IOException
ResourceFactorygetResource in interface ResourceFactoryResourceParseExceptionjava.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.