tomp.xml.sax.reader
Class FileSystemXMLReader
java.lang.Object
tomp.xml.sax.reader.AbstractXMLReader
tomp.xml.sax.reader.FileSystemXMLReader
- All Implemented Interfaces:
- Parametrized, ParametrizedXMLReader, org.xml.sax.XMLReader
- public class FileSystemXMLReader
- extends AbstractXMLReader
Field Summary |
protected static java.text.SimpleDateFormat |
dateTimeFormat
date/time formatter for XML Schema, part 2 lexical representation
or CCYY-MM-DDThh:mm:ss (e.g. 1999-05-31T13:20:00-05:00) |
Method Summary |
protected void |
handleDirectory(java.io.File path)
|
protected void |
handleFile(java.io.File file)
|
void |
parse(org.xml.sax.InputSource source)
|
void |
setParameter(java.lang.String k,
java.lang.Object v)
|
protected void |
traverse(java.io.File path)
|
Methods inherited from class tomp.xml.sax.reader.AbstractXMLReader |
getBufferedReader, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getFile, getInputStream, getProperty, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dateTimeFormat
protected static final java.text.SimpleDateFormat dateTimeFormat
- date/time formatter for XML Schema, part 2 lexical representation
or CCYY-MM-DDThh:mm:ss (e.g. 1999-05-31T13:20:00-05:00)
FileSystemXMLReader
public FileSystemXMLReader()
setParameter
public void setParameter(java.lang.String k,
java.lang.Object v)
- Specified by:
setParameter
in interface Parametrized
- Specified by:
setParameter
in class AbstractXMLReader
parse
public void parse(org.xml.sax.InputSource source)
throws java.io.IOException,
org.xml.sax.SAXException
- Specified by:
parse
in interface org.xml.sax.XMLReader
- Specified by:
parse
in class AbstractXMLReader
- Throws:
java.io.IOException
org.xml.sax.SAXException
traverse
protected void traverse(java.io.File path)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
handleDirectory
protected void handleDirectory(java.io.File path)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
handleFile
protected void handleFile(java.io.File file)
throws java.io.IOException,
org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException