|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.visual.CalculatorIO
public class CalculatorIO
This class defines static methods for reading calculator definitions from a properties object and installing them into a CalculatorCatalog, and for constructing a properties object that describes all the calculators in a CalculatorCatalog.
Constructor Summary | |
---|---|
CalculatorIO()
|
Method Summary | |
---|---|
static Properties |
getProperties(CalculatorCatalog catalog)
Given a CalculatorCatalog, assembles a Properties object representing all of the calculators contained in the catalog. |
static void |
loadCalculators(Properties props,
CalculatorCatalog catalog)
Equivalent to loadCalculators(props, catalog, true); |
static void |
loadCalculators(Properties props,
CalculatorCatalog catalog,
boolean overWrite)
Loads calculators from their description in a Properties object into a supplied CalculatorCatalog object. |
static void |
renameAsNeeded(Calculator c,
CalculatorCatalog catalog)
Given a Calculator of a given type and a CalculatorCatalog, checks for an existing catalog with the same name and type. |
static void |
storeCatalog(CalculatorCatalog catalog,
File outFile)
Writes the contents of a CalculatorCatalog to the specified file as a properties file. |
static void |
storeCatalog(CalculatorCatalog catalog,
Writer writer)
Writes the contents of a CalculatorCatalog to the specified writer as a properties file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalculatorIO()
Method Detail |
---|
public static void storeCatalog(CalculatorCatalog catalog, File outFile) throws IOException
IOException
public static void storeCatalog(CalculatorCatalog catalog, Writer writer) throws IOException
IOException
public static Properties getProperties(CalculatorCatalog catalog)
public static void loadCalculators(Properties props, CalculatorCatalog catalog)
public static void loadCalculators(Properties props, CalculatorCatalog catalog, boolean overWrite)
public static void renameAsNeeded(Calculator c, CalculatorCatalog catalog)
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |