| Constructor and Description |
|---|
StartupModel(java.io.File configFile) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getConfigFile() |
ModelScriptInfo |
getModelInfo() |
java.io.File |
getWaypointsFile() |
boolean |
isWritable()
Returns
true if this component should in fact be written to
secondary storage. |
void |
loadOrCreate() |
boolean |
save() |
void |
scan(ReaderTokenizer rtok,
java.lang.Object ref)
Scans this element from a ReaderTokenizer.
|
void |
setModelInfo(ModelScriptInfo info) |
void |
setWaypointsFile(java.io.File file) |
void |
write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
Writes a text description of this element to a PrintWriter.
|
void |
writeItems(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref) |
public java.io.File getWaypointsFile()
public void setWaypointsFile(java.io.File file)
public ModelScriptInfo getModelInfo()
public void setModelInfo(ModelScriptInfo info)
public java.io.File getConfigFile()
public void loadOrCreate()
public boolean save()
public void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
Scannablewrite.public void writeItems(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
throws java.io.IOException
java.io.IOExceptionpublic void write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
throws java.io.IOException
Scannablescan and complete
enough to allow full reconstruction of the element.public boolean isWritable()
Scannabletrue if this component should in fact be written to
secondary storage. This gives subclasses control over whether or
not they are actually written out.isWritable in interface Scannabletrue if this component should be written to
secondary storage.