com.lightdev.app.filemanager.io
Class ConnectionsReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
com.lightdev.lib.xml.io.XmlReader
com.lightdev.app.filemanager.io.ConnectionsReader
- All Implemented Interfaces:
- XmlParserCallback, Closeable, Readable
public class ConnectionsReader
- extends XmlReader
- implements XmlParserCallback
A class that reads connections from an XML structure
previously built by application File Manager
- Version:
- 1, 19.09.2008
- Author:
- Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the BSD License,
for details see file license.txt in the distribution package of this software
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionsReader
public ConnectionsReader(Reader in)
- create an new object of class
ConnectionsRedaer
- Parameters:
in - the reader to read connections from
getConnections
public List getConnections()
- get the connections that have been read by this reader
- Returns:
- an ArrayList of Connection objects
handleStartTag
public void handleStartTag(String tagName,
AttributeSet a)
- process an xml start tag
- Specified by:
handleStartTag in interface XmlParserCallback
- Parameters:
tagName - the name of the start tag to processa - the attributes of the start tag to process
handleEndTag
public void handleEndTag(String tagName)
- process an xml end tag
- Specified by:
handleEndTag in interface XmlParserCallback
- Parameters:
tagName - the name of the end tag to process
handleText
public void handleText(String text)
- process text found in an xml tag
- Specified by:
handleText in interface XmlParserCallback
- Parameters:
text - the text to process