Package ffx.potential.parsers
Interface FileOpener
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
PotentialsFileOpener
,UIFileOpener
The FileOpener interface specifies Runnable objects which can return one or more
MolecularAssemblies. Implementing classes should not be constructed except by a class
implementing PotentialsFunctions; one should pass that class the File to be opened, which
constructs an implementation of FileOpener.
To some extent, this interface is legacy code of when I was trying to implement the open() methods from MainPanel instead of openWait(); it should be possible to simply wrap the methods into the classes implementing PotentialsFunctions.
- Author:
- Jacob M. Litman, Michael J. Schnieders
-
Method Summary
Modifier and TypeMethodDescriptiongetAllAssemblies.org.apache.commons.configuration2.CompositeConfiguration[]
getAllProperties.getAssembly.org.apache.commons.configuration2.CompositeConfiguration
getProperties.void
run()
-
Method Details
-
getAllAssemblies
MolecularAssembly[] getAllAssemblies()getAllAssemblies.- Returns:
- an array of
MolecularAssembly
objects.
-
getAllProperties
org.apache.commons.configuration2.CompositeConfiguration[] getAllProperties()getAllProperties.- Returns:
- an array of
CompositeConfiguration
objects.
-
getAssembly
MolecularAssembly getAssembly()getAssembly.- Returns:
- a
MolecularAssembly
object.
-
getProperties
org.apache.commons.configuration2.CompositeConfiguration getProperties()getProperties.- Returns:
- a
CompositeConfiguration
object.
-
run
void run()
-