Package ffx.utilities
Class Keyword
java.lang.Object
ffx.utilities.Keyword
The Keyword class holds a single Force Field X keyword entry.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendvoidappendvoidclear()cleargetEntriesgetEntry(int i) getEntryGetter for the fieldkeyword.static org.apache.commons.configuration2.CompositeConfigurationloadProperties(File file) This method sets up configuration properties in the following precedence * order:voidprint()printtoString()
-
Constructor Details
-
Method Details
-
loadProperties
This method sets up configuration properties in the following precedence * order:1.) Structure specific properties (for example pdbname.properties)
2.) Java system properties a.) -Dkey=value from the Java command line b.) System.setProperty("key","value") within Java code.
3.) User specific properties (~/.ffx/ffx.properties)
4.) System wide properties (file defined by environment variable FFX_PROPERTIES)
5.) Internal force field definition.
- Parameters:
file- aFileobject.- Returns:
- a
CompositeConfigurationobject. - Since:
- 1.0
-
append
append- Parameters:
entry- aStringobject.
-
append
append- Parameters:
entry- an array ofStringobjects.
-
clear
public void clear()clear -
getEntries
getEntries- Returns:
- a
Vectorobject.
-
getEntry
getEntry- Parameters:
i- The index of the entry to return.- Returns:
- a
Stringobject.
-
getKeyword
Getter for the fieldkeyword.- Returns:
- a
Stringobject.
-
print
public void print()print -
toString
-