org.broadinstitute.genee.client
Class GeneeClient

java.lang.Object
  extended by org.broadinstitute.genee.client.GeneeClient

public class GeneeClient
extends Object

Class for interacting with GENE-E.


Constructor Summary
GeneeClient()
          Constructs a client to interact with GENE-E on localhost:9998.
GeneeClient(String server, int port)
          Constructs a client to interact with GENE-E.
 
Method Summary
 Dataset fromGenee()
          Returns the selection from GENE-E.
 void toGenee(Dataset dataset)
          Views the given dataset in GENE-E.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneeClient

public GeneeClient()
Constructs a client to interact with GENE-E on localhost:9998.


GeneeClient

public GeneeClient(String server,
                   int port)
Constructs a client to interact with GENE-E.

Parameters:
server - The server to connect to
port - The port to connect to
Method Detail

toGenee

public void toGenee(Dataset dataset)
             throws IOException
Views the given dataset in GENE-E.

Parameters:
dataset - The dataset to view
Throws:
IOException - If an error occurs

fromGenee

public Dataset fromGenee()
                  throws IOException
Returns the selection from GENE-E. If no rows or columns are selected, the full dataset is returned.

Returns:
The dataset from GENE-E
Throws:
IOException - If an error occurs