public class ScanAndParseDefinitionFile extends BuildingPhase
Modifier and Type | Field and Description |
---|---|
private java.io.File |
defFile
The path to the definition file.
|
private Package |
pkg
The associated package.
|
Constructor and Description |
---|
ScanAndParseDefinitionFile(Package pkg,
java.io.File defFile)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
action()
abstract action for a phase.
|
getName, setName
private final Package pkg
private final java.io.File defFile
public ScanAndParseDefinitionFile(Package pkg, java.io.File defFile)
pkg
- The associated package.defFile
- the path to the definition file.public void action() throws ScannerException, java.lang.InterruptedException, java.io.IOException, ReaderException, ParserException
AbstractPhase
action
in class BuildingPhase
ScannerException
- ScannerExceptionjava.lang.InterruptedException
- InterruptedExceptionjava.io.IOException
- IOExceptionReaderException
- ReaderExceptionParserException
- ParserException