Extension SDK 10.1.3.36.73

oracle.javatools.parser.java.v2
Class JavaParser

java.lang.Object
  extended byoracle.javatools.parser.java.v2.JavaParser

public class JavaParser
extends java.lang.Object

Raw API for generating parse trees.


Field Summary
static int j2se
           
 
Constructor Summary
JavaParser()
           
 
Method Summary
static SourceFile parse(ReadTextBuffer textBuffer)
          Parses the given text buffer with default options.
static SourceFile parse(ReadTextBuffer textBuffer, int j2se)
          Parses the given text buffer with default options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

j2se

public static int j2se
Constructor Detail

JavaParser

public JavaParser()
Method Detail

parse

public static SourceFile parse(ReadTextBuffer textBuffer)
Parses the given text buffer with default options.


parse

public static SourceFile parse(ReadTextBuffer textBuffer,
                               int j2se)
Parses the given text buffer with default options.

Parameters:
j2se - Valid values are JavaTokens.J2SE_*.

Extension SDK 10.1.3.36.73

 

Copyright © 1997, 2005, Oracle.All rights reserved.