edu.umd.cs.jazz.io
Class ZParser

java.lang.Object
  |
  +--edu.umd.cs.jazz.io.ZParser
All Implemented Interfaces:
java.io.Serializable

public class ZParser
extends java.lang.Object
implements java.io.Serializable

ZParser is the top-level api to the Jazz io code.

Warning: Serialized and ZSerialized objects of this class will not be compatible with future Jazz releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Jazz. A future release of Jazz will provide support for long term persistence.

Author:
Ben Bederson, Britt McAlister
See Also:
Serialized Form

Field Summary
protected static ZInternalParser internalParser
           
 
Constructor Summary
ZParser()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.lang.Object parse(java.io.InputStream stream)
           
static java.lang.String translateJavaToJazz(java.lang.String s)
          Takes a Java string and creates a string appropriate for Jazz to save (all control characters are backslashed).
static java.lang.String translateJazzToJava(java.lang.String s)
          Takes a Jazz string (all control characters are backslashed) and creates a string Java String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

internalParser

protected static ZInternalParser internalParser
Constructor Detail

ZParser

public ZParser()
Method Detail

translateJavaToJazz

public static java.lang.String translateJavaToJazz(java.lang.String s)
Takes a Java string and creates a string appropriate for Jazz to save (all control characters are backslashed).
Parameters:
s - The java string to be translated
Returns:
the translated String

translateJazzToJava

public static java.lang.String translateJazzToJava(java.lang.String s)
Takes a Jazz string (all control characters are backslashed) and creates a string Java String.
Parameters:
s - The java string to be translated
Returns:
the translated String

parse

public java.lang.Object parse(java.io.InputStream stream)
                       throws ParseException

main

public static void main(java.lang.String[] args)


Copyright © 2001 by University of Maryland, College Park, MD 20742, USA All rights reserved.