public class ScanAndParseTypeFile extends BuildingPhase
Modifier and Type | Field and Description |
---|---|
private Package |
pkg
The associated package.
|
private RouterSoftware |
rs
Constructor.
|
private java.io.File |
typeFile
The path to the type file.
|
Constructor and Description |
---|
ScanAndParseTypeFile(Package pkg,
java.io.File typeFile,
RouterSoftware rs)
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 typeFile
private final RouterSoftware rs
public ScanAndParseTypeFile(Package pkg, java.io.File typeFile, RouterSoftware rs)
pkg
- PackagetypeFile
- TypeFile to parsers
- RouterSoftware packagepublic 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