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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendvoid
appendvoid
clear()
cleargetEntriesgetEntry
(int i) getEntryGetter for the fieldkeyword
.static org.apache.commons.configuration2.CompositeConfiguration
loadProperties
(File file) This method sets up configuration properties in the following precedence * order:void
print()
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
- aFile
object.- Returns:
- a
CompositeConfiguration
object. - Since:
- 1.0
-
append
append- Parameters:
entry
- aString
object.
-
append
append- Parameters:
entry
- an array ofString
objects.
-
clear
public void clear()clear -
getEntries
getEntries- Returns:
- a
Vector
object.
-
getEntry
getEntry- Parameters:
i
- The index of the entry to return.- Returns:
- a
String
object.
-
getKeyword
Getter for the fieldkeyword
.- Returns:
- a
String
object.
-
print
public void print()print -
toString
-