|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectliuslite.parser.Parser
public abstract class Parser
Abstract class Parser
Constructor Summary | |
---|---|
Parser()
|
Method Summary | |
---|---|
void |
configure(LiusConfig config)
Configure parsers from mimetypes |
abstract Content |
getContent(java.lang.String name)
Get a content object, this object is configured from the LiusConfig Xml. |
abstract java.util.List<Content> |
getContents()
Get a List of contents objects, this objects are configured from the LiusConfig Xml file. |
java.io.InputStream |
getInputStream()
|
java.lang.String |
getMimeType()
Get document mime type |
ParserConfig |
getParserConfig()
Return parser specific config |
abstract java.lang.String |
getStrContent()
Get the string content of the document |
void |
setInputStream(java.io.InputStream is)
|
void |
setMimeType(java.lang.String mimeType)
Set document mime type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parser()
Method Detail |
---|
public void setInputStream(java.io.InputStream is)
public java.io.InputStream getInputStream()
public void configure(LiusConfig config) throws LiusException
LiusException
public ParserConfig getParserConfig()
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
public abstract java.lang.String getStrContent()
public abstract Content getContent(java.lang.String name)
public abstract java.util.List<Content> getContents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |