| Modifier and Type | Class and Description |
|---|---|
| public static interface | SourceZip.
An interface to define a callback for each file that's parsed. |
| Modifier and Type | Field and Description |
|---|---|
| private ParserConfiguration | |
| private final Path |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SourceZip(Path
The absolute path of ZIP file to parse. zipPath, ParserConfiguration The configuration to initiate the default parser with. configuration)Create a new ZIP parser. |
| Modifier and Type | Method and Description |
|---|---|
| public ParserConfiguration | |
| public Path | |
| public List | Returns: A list of path-compilation unit pairs.Tries to parse all '.java' files in the ZIP located at this SourceZip's path and returns the parse results in a list. |
| public SourceZip | |
| public SourceZip |
| parserConfiguration | back to summary |
|---|---|
| private ParserConfiguration parserConfiguration | |
| zipPath | back to summary |
|---|---|
| private final Path zipPath | |
| SourceZip | back to summary |
|---|---|
| public SourceZip(Path zipPath) Create a new ZIP parser. An instance of
| |
| SourceZip | back to summary |
|---|---|
| public SourceZip(Path zipPath, ParserConfiguration configuration) Create a new ZIP parser. An instance of
| |
| getParserConfiguration | back to summary |
|---|---|
| public ParserConfiguration getParserConfiguration() | |
| getZipPath | back to summary |
|---|---|
| public Path getZipPath() Get the path of the ZIP file to be parsed.
| |
| parse | back to summary |
|---|---|
| public List Tries to parse all '.java' files in the ZIP located at this SourceZip's path and returns the parse results in a list.
| |
| parse | back to summary |
|---|---|
| public SourceZip parse(SourceZip. Tries to parse all '.java' files in the ZIP located at this SourceZip's path and returns the parse results in a list.
| |
| setParserConfiguration | back to summary |
|---|---|
| public SourceZip setParserConfiguration(ParserConfiguration parserConfiguration) | |
| Modifier and Type | Method and Description |
|---|---|
| public void | process(Path
The relative path of the entry in the ZIP file that was parsed. relativeZipEntryPath, ParseResult<CompilationUnit> The parse result of file located at absolutePath. result)Process the given parse result. |
| process | back to summary |
|---|---|
| public void process(Path relativeZipEntryPath, ParseResult<CompilationUnit> result) Process the given parse result.
| |