|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.crawler.web.parse.BinaryParser
public class BinaryParser
Fallback implementation to use when no more specialized parser is available. Makes it possible to use the content of binary files linked from web pages (e.g. images or PDF files), the content can of course not be scanned for outgoing links or metadata. Metadata from response headers can be used.
| Constructor Summary | |
|---|---|
BinaryParser()
|
|
| Method Summary | |
|---|---|
Configuration |
getConf()
Return the configuration used by this object. |
java.lang.String[] |
getContentTypes()
Returns array of content-types that are supported by this parser. |
Parse |
getParse(Content content)
Creates the parse for some content. |
void |
setConf(Configuration configuration)
Set the configuration to be used by this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryParser()
| Method Detail |
|---|
public void setConf(Configuration configuration)
Configurable
setConf in interface Configurableconfiguration - Configurationpublic Configuration getConf()
Configurable
getConf in interface Configurablepublic Parse getParse(Content content)
Parser
getParse in interface Parsercontent - Content
public java.lang.String[] getContentTypes()
Parser
getContentTypes in interface Parser
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||