public class LDTInput extends Object implements EnvInput
| Modifier and Type | Class and Description |
|---|---|
static interface |
LDTInput.LDTInputListener |
| Modifier and Type | Field and Description |
|---|---|
private InitConfig |
initConfig |
private KeYFile[] |
keyFiles |
private LDTInput.LDTInputListener |
listener |
private static String |
NAME |
private Profile |
profile |
| Constructor and Description |
|---|
LDTInput(KeYFile[] keyFiles,
LDTInput.LDTInputListener listener,
Profile profile)
creates a representation of the LDT files to be used as input
to the KeY prover.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
File |
getInitialFile()
Returns the initial
File which is loaded if available. |
int |
getNumberOfChars()
Returns the total numbers of chars that can be read in this input.
|
Profile |
getProfile()
Returns the
Profile to use. |
int |
hashCode() |
String |
name()
Returns the name of this input.
|
ImmutableSet<PositionedString> |
read()
reads all LDTs, i.e., all associated .key files with respect to
the given modification strategy.
|
File |
readBootClassPath()
gets the boot classpath element, null if none set.
|
List<File> |
readClassPath()
gets the classpath elements to be considered here.
|
Includes |
readIncludes()
Reads the include section and returns an Includes object.
|
String |
readJavaPath()
Reads the Java path.
|
void |
setInitConfig(InitConfig conf)
Sets the initial configuration the read environment input should be
added to.
|
String |
toString() |
private static final String NAME
private final KeYFile[] keyFiles
private final LDTInput.LDTInputListener listener
private final Profile profile
private InitConfig initConfig
public LDTInput(KeYFile[] keyFiles, LDTInput.LDTInputListener listener, Profile profile)
keyFiles - an array containing the LDT .key filesmain - the main class used to report the progress of readingpublic String name()
EnvInputpublic int getNumberOfChars()
EnvInputgetNumberOfChars in interface EnvInputpublic void setInitConfig(InitConfig conf)
EnvInputsetInitConfig in interface EnvInputpublic Includes readIncludes() throws ProofInputException
EnvInputreadIncludes in interface EnvInputProofInputExceptionpublic String readJavaPath() throws ProofInputException
EnvInputreadJavaPath in interface EnvInputProofInputExceptionpublic List<File> readClassPath() throws ProofInputException
EnvInputreadClassPath in interface EnvInputProofInputExceptionpublic File readBootClassPath()
EnvInputreadBootClassPath in interface EnvInputpublic ImmutableSet<PositionedString> read() throws ProofInputException
read in interface EnvInputImmutableSet if no warnings occurred.ProofInputExceptionpublic Profile getProfile()
EnvInputProfile to use.getProfile in interface EnvInputProfile to use.