Cytoscape 3.0.1 API

org.cytoscape.application
Interface CyApplicationConfiguration


public interface CyApplicationConfiguration

Application-wide setting will be accessible through this interface.


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.

Method Summary
 File getAppConfigurationDirectoryLocation(Class<?> appClass)
          Returns the absolute path to the configuration directory of a particular app.
 File getConfigurationDirectoryLocation()
          Returns absolute path to .cytoscape location.
 

Method Detail

getConfigurationDirectoryLocation

File getConfigurationDirectoryLocation()
Returns absolute path to .cytoscape location. By default, this is user's home directory.

Returns:
location of .cytoscape setting directory. TODO: How can we set this location?

getAppConfigurationDirectoryLocation

File getAppConfigurationDirectoryLocation(Class<?> appClass)
Returns the absolute path to the configuration directory of a particular app. This path might not physically exist and may need to be created by the caller.

Parameters:
appClass - Any class defined by the app's bundle
Returns:
the absolute path to the configuration directory of a particular app.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.