Package | Description |
---|---|
japa.parser |
Modifier and Type | Method and Description |
---|---|
static CompilationUnit |
JavaParser.parse(File file)
Parses the Java code contained in a
File and returns
a CompilationUnit that represents it. |
static CompilationUnit |
JavaParser.parse(File file,
String encoding)
Parses the Java code contained in a
File and returns
a CompilationUnit that represents it. |
static CompilationUnit |
JavaParser.parse(InputStream in)
Parses the Java code contained in the
InputStream and returns
a CompilationUnit that represents it. |
static CompilationUnit |
JavaParser.parse(InputStream in,
String encoding)
Parses the Java code contained in the
InputStream and returns
a CompilationUnit that represents it. |
Copyright © 2007–2013. All rights reserved.