public class GeneratedCodeFetcher
extends java.lang.Object
| Constructor and Description |
|---|
GeneratedCodeFetcher(java.util.List<java.io.File> generatedCodeFiles)
Constructor for normal/production usage of class with
code generation response files.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all opened code generation response files.
|
GeneratedCode |
getGeneratedCode(int fileId,
int augCodeId)
Finds a generated code in a file.
|
boolean |
prepareForFile(int fileId)
Advances internal pointer of this object to locate a file of
generated code objects.
|
public GeneratedCodeFetcher(java.util.List<java.io.File> generatedCodeFiles)
throws java.lang.Exception
java.lang.Exceptionpublic void close()
throws java.lang.Exception
java.lang.Exceptionpublic boolean prepareForFile(int fileId)
throws java.lang.Exception
fileId - id of file of generated code objects.java.lang.Exceptionpublic GeneratedCode getGeneratedCode(int fileId, int augCodeId) throws java.lang.Exception
fileId - id of fileaugCodeId - id of corresponding aug codejava.lang.Exception