Answers the questions by looking up the values in a Properties object. The question names match the property field names. If no answer is found in the Property object, or if the value is invalid, then the default is taken.
For the GaussianInputWriter the properties file might look like:
Basis=6-31g Method=b3lyp Command=geometry optimization
- Egon Willighagen <firstname.lastname@example.org>
- Source code:
- Belongs to CDK module:
Method SummaryModifier and TypeMethodDescription
voidIndicates that a new frame has been read.
voidProcesses the IOSettings by listing the question, giving the options and asking the user to provide their choice.
voidOverwrites the default writer to which the output is directed.
setOutputWriterpublic void setOutputWriter
(Writer writer)Overwrites the default writer to which the output is directed.
frameReadpublic void frameRead
(ReaderEvent event)Description copied from interface:
IReaderListenerIndicates that a new frame has been read.
processIOSettingQuestionpublic void processIOSettingQuestion
(IOSetting setting)Processes the IOSettings by listing the question, giving the options and asking the user to provide their choice.
Note: if the input reader is
null, then the method does not wait for an answer, and takes the default.