org.bioquery.gui
Class ProgramManager
java.lang.Object
|
+--org.bioquery.gui.ProgramManager
- public class ProgramManager
- extends java.lang.Object
This class holds system data, the location (URL) of the server, file type information,
and class names for dynamically instantiating classes. All of these parameters are found
in the bq.xml file, which acts as the properties file for the BioQuery
application. bq.xml is located in the META-INF directory under the application
directory.
- Author:
- James Brundege
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProgramManager
public ProgramManager()
throws java.lang.Exception
saveProxyInfo
public void saveProxyInfo(java.lang.String proxyHost,
java.lang.String proxyPort)
throws java.io.IOException
getSubmitQueryServletAddress
public java.lang.String getSubmitQueryServletAddress()
getFileManagerServletAddress
public java.lang.String getFileManagerServletAddress()
getExtensionForView
public java.lang.String getExtensionForView(View view)
isExtensionValid
public boolean isExtensionValid(java.lang.String extension,
View view)
getClassForExtension
public java.lang.String getClassForExtension(java.lang.String extension)
getViewForExtension
public View getViewForExtension(java.lang.String extension)
getAllFileExtensions
public java.util.List getAllFileExtensions()
getIconFilesLocation
public java.lang.String getIconFilesLocation()
getHelpFilesLocation
public java.lang.String getHelpFilesLocation()
getTutorialFilesLocation
public java.lang.String getTutorialFilesLocation()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object