|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.util.XMLURLReader
This class takes a URL that is encoded in XML and creates a DataObject from it.
DataObject
Field Summary | |
static int |
HTTP_PORT
The default port for HTTP access |
Constructor Summary | |
XMLURLReader(java.lang.String aUrl)
This constructor accepts a URL and creates the necessary objects to parse it. |
Method Summary | |
DataObject |
getParsedData()
This method returns a DataObject containing the parsed information from an XML-encoded URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int HTTP_PORT
Constructor Detail |
public XMLURLReader(java.lang.String aUrl) throws java.net.MalformedURLException
aUrl
- URL encoded in XML to parse
java.net.MalformedURLException
- if the given url can't be converted
to a URL objectParserObject
Method Detail |
public DataObject getParsedData() throws DecodeException
DecodeException
- if the URL can't be parsed correctly
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |