|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.WebCAT
public class WebCAT
The main class of the WebCAT package. Dumps the metadata information to the standard output, in the RDF format.
| Field Summary | |
|---|---|
private static WebCAT |
_theInstance
The single instance of this class |
| Constructor Summary | |
|---|---|
private |
WebCAT()
The constructor of the class |
| Method Summary | |
|---|---|
static java.lang.String |
encodeSGML(java.lang.String input)
|
static WebCAT |
getInstance()
This class implements the singleton pattern. |
static java.lang.String |
getRDFData(HTMLParser parser)
Returns a string with an RDF representation of the parser object |
static HTMLParser |
initParser(java.io.InputStream src,
java.lang.String t,
HTMLParser aux)
Initializes a parser object, with basis on the supplied MIME type |
static HTMLParser |
initParser(java.lang.String src,
HTMLParser aux)
Initializes a parser object, with basis on the file extension |
static void |
main(java.lang.String[] args)
The main method of this class, parsing parameters from the command line, invoquing the parser to process the given input, and dumping the results in RDF. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final WebCAT _theInstance
| Constructor Detail |
|---|
private WebCAT()
| Method Detail |
|---|
public static WebCAT getInstance()
public static java.lang.String encodeSGML(java.lang.String input)
public static java.lang.String getRDFData(HTMLParser parser)
parser - The parser object, with the metadata for a given resource
public static HTMLParser initParser(java.io.InputStream src,
java.lang.String t,
HTMLParser aux)
throws java.lang.Exception
src - An InputStream to the source documentt - The MIME type of the source documentaux - The parser object to be initialized
java.lang.Exception
public static HTMLParser initParser(java.lang.String src,
HTMLParser aux)
throws java.lang.Exception
src - An InputStream to the source documentaux - The parser object to be initialized
java.lang.Exception
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - The command line arguments
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||