public class LogFileParser extends org.xml.sax.helpers.DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
String |
auxInfo |
String |
logDescription |
String |
logName |
protected Hashtable |
messageLogs |
| Constructor and Description |
|---|
LogFileParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buf,
int offset,
int len) |
void |
endDocument() |
void |
endElement(String namespaceURI,
String sName,
String qName) |
Hashtable |
parseLogs(InputSource inputSource) |
Hashtable |
parseLogsFromDebugFile(String logFileName)
Generate a file that can be digested by the trace viewer.
|
Hashtable |
parseLogsFromFile(String logFileName)
Generate a file that can be digested by the trace viewer.
|
Hashtable |
parseLogsFromString(String logString) |
void |
startDocument() |
void |
startElement(String namespaceURI,
String lName,
String qName,
Attributes attrs) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningprotected Hashtable messageLogs
public String logDescription
public String auxInfo
public String logName
public Hashtable parseLogs(InputSource inputSource)
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void startElement(String namespaceURI, String lName, String qName, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String sName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] buf,
int offset,
int len)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic Hashtable parseLogsFromDebugFile(String logFileName)
public Hashtable parseLogsFromFile(String logFileName)
Copyright © 2018. All Rights Reserved.