public class PropertiesListener extends Object implements IReaderListener, IWriterListener
For the GaussianInputWriter the properties file might look like:
Basis=6-31g Method=b3lyp Command=geometry optimization
Constructor and Description |
---|
PropertiesListener(Properties props) |
Modifier and Type | Method and Description |
---|---|
void |
frameRead(ReaderEvent event)
Indicates that a new frame has been read.
|
void |
processIOSettingQuestion(IOSetting setting)
Processes the IOSettings by listing the question, giving the options
and asking the user to provide their choice.
|
void |
setOutputWriter(Writer writer)
Overwrites the default writer to which the output is directed.
|
public PropertiesListener(Properties props)
public void setOutputWriter(Writer writer)
public void frameRead(ReaderEvent event)
IReaderListener
frameRead
in interface IReaderListener
event
- information about the event.public void processIOSettingQuestion(IOSetting setting)
Note: if the input reader is null
, then the method
does not wait for an answer, and takes the default.
processIOSettingQuestion
in interface IChemObjectIOListener
Copyright © 2018. All Rights Reserved.