public interface FileParser<T extends FileManifest> extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.collect.ImmutableSortedSet<String> |
getIncludedFiles(Path parseFile)
Collects the loaded files and extensions when parsing the
parseFile build spec. |
T |
getManifest(Path parseFile)
Collect all information from a particular, along with metadata about the information, for
example which other files were also parsed.
|
T getManifest(Path parseFile) throws BuildFileParseException, InterruptedException, IOException
parseFile
- should be an absolute path to a file. Must have rootPath as its prefix.BuildFileParseException
InterruptedException
IOException
com.google.common.collect.ImmutableSortedSet<String> getIncludedFiles(Path parseFile) throws BuildFileParseException, InterruptedException, IOException
parseFile
build spec.parseFile
- should be an absolute path to a file. Must have rootPath as its prefix.BuildFileParseException
InterruptedException
IOException
void close() throws BuildFileParseException, InterruptedException, IOException
close
in interface AutoCloseable
BuildFileParseException
InterruptedException
IOException