ORG.oclc.resources.ascii
Class ASCIIResource
java.lang.Object
|
+--ORG.oclc.resources.ascii.ASCIIResource
- public class ASCIIResource
- extends Object
- implements NetworkResource
ASCIIResource
public ASCIIResource(String doc)
getTitle
public String getTitle()
- Specified by:
- getTitle in interface NetworkResource
getExcerpt
public String getExcerpt()
- Specified by:
- getExcerpt in interface NetworkResource
getExcerpt
public String getExcerpt(int limit)
- Specified by:
- getExcerpt in interface NetworkResource
getContent
public String getContent()
- Specified by:
- getContent in interface NetworkResource
getLowerCaseContent
public String getLowerCaseContent()
- Specified by:
- getLowerCaseContent in interface NetworkResource
getCleanContent
public String getCleanContent()
- Specified by:
- getCleanContent in interface NetworkResource
getLinkRatio
public int getLinkRatio()
- Specified by:
- getLinkRatio in interface NetworkResource
toString
public String toString()
- Specified by:
- toString in interface NetworkResource
- Overrides:
- toString in class Object
containsCode
public boolean containsCode()
containsTechnicalCues
public boolean containsTechnicalCues()
containsTemporalCues
public boolean containsTemporalCues()
containsNewsCues
public boolean containsNewsCues()
containsMetadataTags
public boolean containsMetadataTags()
containsXML
public boolean containsXML()
containsForm
public boolean containsForm()
containsFrames
public boolean containsFrames()
containsImageMap
public boolean containsImageMap()
containsLayers
public boolean containsLayers()
containsStyles
public boolean containsStyles()
containsPattern
public boolean containsPattern(String uncompiledPattern,
int limit)
doAllContentChecks
public void doAllContentChecks()
main
public static void main(String[] args)
getPublisherFromText
public String getPublisherFromText()
- Specified by:
- getPublisherFromText in interface NetworkResource
getCopyrightFromText
public String getCopyrightFromText()
- Specified by:
- getCopyrightFromText in interface NetworkResource