public class ContentHandlerBase extends java.lang.Object implements ContentHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.String |
author |
protected java.lang.String |
categories |
protected java.lang.StringBuffer |
contents |
protected java.lang.String |
description |
protected java.lang.String |
fileFormat |
protected java.lang.String |
fileType |
protected java.lang.String |
href |
protected java.lang.String |
keywords |
protected java.util.ArrayList |
links |
protected java.util.Map |
metoInfo |
protected long |
published |
protected boolean |
robotFollow |
protected boolean |
robotIndex |
protected java.lang.String |
title |
protected java.lang.String |
version |
DBT_FILEFOMAT, EXCEL_FILEFOMAT, PDF_FILEFOMAT, PPT_FILEFOMAT, RTF_FILEFOMAT, TEXT_HTML_FILEFOMAT, VERSION_2003, VERSION_2007, WORD_FILEFOMAT| 构造器和说明 |
|---|
ContentHandlerBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getAbstracts() |
java.lang.String |
getAuthor()
Return author
|
java.lang.String |
getCategories()
Return categories (from META tags)
|
java.lang.String |
getChannel() |
java.lang.String |
getContents()
Return contents
|
java.lang.String |
getCopyright() |
java.lang.String |
getDescription()
Return description (from META tags)
|
java.lang.String |
getDockind() |
long |
getDocwtime() |
java.lang.String |
getFileFormat()
文件类型
|
java.lang.String |
getHREF()
Return META HREF
|
java.lang.String |
getKeywords()
Return keywords (from META tags)
|
java.util.List |
getLinks()
Return links
|
long |
getPublished()
Return published date (from META tag)
|
boolean |
getRobotFollow()
Return description (from META tags)
|
boolean |
getRobotIndex()
Return description (from META tags)
|
java.lang.String |
getSecondtitle() |
java.lang.String |
getSite() |
java.lang.String |
getSubtitle() |
java.lang.String |
getTitle()
Return page title
|
void |
parse(java.io.InputStream in)
Parse Content.
|
void |
parse(java.util.Map map) |
protected void |
reset() |
protected java.lang.String version
protected java.lang.String title
protected java.lang.String description
protected java.lang.String keywords
protected java.lang.String categories
protected long published
protected java.lang.String href
protected java.lang.String author
protected java.lang.StringBuffer contents
protected java.util.ArrayList links
protected java.lang.String fileFormat
protected java.lang.String fileType
protected boolean robotIndex
protected boolean robotFollow
protected java.util.Map metoInfo
public java.lang.String getAuthor()
ContentHandlergetAuthor 在接口中 ContentHandlerpublic java.lang.String getCategories()
ContentHandlergetCategories 在接口中 ContentHandlerpublic java.lang.String getContents()
ContentHandlergetContents 在接口中 ContentHandlerpublic java.lang.String getDescription()
ContentHandlergetDescription 在接口中 ContentHandlerpublic java.lang.String getHREF()
ContentHandlergetHREF 在接口中 ContentHandlerpublic java.lang.String getKeywords()
ContentHandlergetKeywords 在接口中 ContentHandlerpublic java.util.List getLinks()
ContentHandlergetLinks 在接口中 ContentHandlerpublic long getPublished()
ContentHandlergetPublished 在接口中 ContentHandlerpublic boolean getRobotFollow()
ContentHandlergetRobotFollow 在接口中 ContentHandlerpublic boolean getRobotIndex()
ContentHandlergetRobotIndex 在接口中 ContentHandlerpublic java.lang.String getTitle()
ContentHandlergetTitle 在接口中 ContentHandlerpublic java.lang.String getFileFormat()
ContentHandlergetFileFormat 在接口中 ContentHandlerpublic void parse(java.io.InputStream in)
ContentHandlerparse 在接口中 ContentHandlerpublic void parse(java.util.Map map)
parse 在接口中 ContentHandlerprotected void reset()
public java.lang.String getAbstracts()
getAbstracts 在接口中 ContentHandlerpublic java.lang.String getChannel()
getChannel 在接口中 ContentHandlerpublic java.lang.String getDockind()
getDockind 在接口中 ContentHandlerpublic java.lang.String getSecondtitle()
getSecondtitle 在接口中 ContentHandlerpublic java.lang.String getSite()
getSite 在接口中 ContentHandlerpublic java.lang.String getSubtitle()
getSubtitle 在接口中 ContentHandlerpublic java.lang.String getCopyright()
getCopyright 在接口中 ContentHandlerpublic long getDocwtime()
getDocwtime 在接口中 ContentHandler