nl.justobjects.pushlet.core
Class EventParser

java.lang.Object
  extended by nl.justobjects.pushlet.core.EventParser

public class EventParser
extends java.lang.Object

Parses XML into Event objects.

Version:
$Id: EventParser.java,v 1.3 2007/11/23 14:33:07 justb Exp $
Author:
Just van den Broecke - Just Objects ©

Constructor Summary
private EventParser()
           
 
Method Summary
static void main(java.lang.String[] args)
          Test method: use files to test.
static Event parse(java.io.File aFile)
          Parse Event from a File.
static Event parse(java.io.Reader aReader)
          Parse Event from input Reader.
static Event parse(java.lang.String aString)
          Parse Event from a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventParser

private EventParser()
Method Detail

parse

public static Event parse(java.io.File aFile)
                   throws java.io.IOException
Parse Event from a File.

Throws:
java.io.IOException

parse

public static Event parse(java.io.Reader aReader)
                   throws java.io.IOException
Parse Event from input Reader.

Throws:
java.io.IOException

parse

public static Event parse(java.lang.String aString)
                   throws java.io.IOException
Parse Event from a String.

Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
Test method: use files to test.



Copyright 2000-2003 - Just Objects B.V.