Cytoscape 2.8.0 API

cytoscape.util
Class JnlpWriterUtil

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

public class JnlpWriterUtil
extends Object


Field Summary
protected  String cytoDir
           
 org.jdom.Document document
           
protected  String fileName
           
 String libDir
           
protected  HashMap<String,String> options
           
 org.jdom.output.XMLOutputter out
           
 String pluginDir
           
 org.jdom.Element rootTag
           
protected  String saveDir
           
protected  String url
           
 
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
clone, equals, finalize, 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

fileName

protected String fileName

cytoDir

protected String cytoDir

url

protected String url

saveDir

protected String saveDir

libDir

public String libDir

pluginDir

public String pluginDir

options

protected HashMap<String,String> options
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.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.