Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.util
Class JnlpWriterUtil

java.lang.Object
  extended by cytoscape.util.JnlpWriterUtil

public class JnlpWriterUtil
extends Object


Field Summary
 org.jdom.Document document
           
 String libDir
           
 org.jdom.output.XMLOutputter out
           
 String pluginDir
           
 org.jdom.Element rootTag
           
 
Constructor Summary
JnlpWriterUtil(String[] args)
          Creates a new JnlpWriterUtil object.
 
Method Summary
 void addArguments(ArrayList<String> Args)
           
 void addJars(String Prefix, ArrayList<String> Jars, String Comment)
           
 void createInfoTag()
          DOCUMENT ME!
 void createResourcesTag()
          DOCUMENT ME!
 ArrayList<String> getLibJars()
          DOCUMENT ME!
 ArrayList<String> getMainClass(ArrayList<String> JarFiles, String JarDir)
           
 ArrayList<String> getPluginJars()
          DOCUMENT ME!
 String getString()
           
static void main(String[] args)
          DOCUMENT ME!
 void writeToFile()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

public org.jdom.Document document

rootTag

public org.jdom.Element rootTag

out

public org.jdom.output.XMLOutputter out

libDir

public String libDir

pluginDir

public String pluginDir
Constructor Detail

JnlpWriterUtil

public JnlpWriterUtil(String[] args)
Creates a new JnlpWriterUtil object.

Parameters:
args - DOCUMENT ME!
Method Detail

main

public static void main(String[] args)
                 throws Exception
DOCUMENT ME!

Parameters:
args - DOCUMENT ME!
Throws:
Exception - DOCUMENT ME!

getString

public String getString()
Returns:
jdom.Document as a string

writeToFile

public void writeToFile()
                 throws IOException
Parameters:
Loc - - directory to write xml file
Throws:
IOException

createInfoTag

public void createInfoTag()
DOCUMENT ME!


createResourcesTag

public void createResourcesTag()
DOCUMENT ME!


addJars

public void addJars(String Prefix,
                    ArrayList<String> Jars,
                    String Comment)
Parameters:
Prefix - (append to beginning of jar file name)
Jars -
Comment -

getLibJars

public ArrayList<String> getLibJars()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getPluginJars

public ArrayList<String> getPluginJars()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMainClass

public ArrayList<String> getMainClass(ArrayList<String> JarFiles,
                                      String JarDir)
Parameters:
JarFiles -
JarDir -
Returns:
ArrayList of the CytoscapePlugin classes that could be determined from each plugin

addArguments

public void addArguments(ArrayList<String> Args)
Parameters:
Args - These are all plugin arguments at the moment, only specifies the -p tag between each.

www.cytoscape.org