public class PolyglotClient extends Polyglot
| Constructor and Description |
|---|
PolyglotClient(String server,
int port)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the connection to the Polyglot server.
|
void |
convert(String input_filename,
String output_path,
String output_type)
Convert a files format.
|
Vector<String> |
getClients()
Get a list of connected client machines.
|
IOGraph<String,String> |
getDistributedInputOutputGraph()
Get a string only version of this IOGraph encoded with host machines.
|
IOGraph<String,String> |
getInputOutputGraph()
Get the available inputs, outputs, and conversions.
|
TreeSet<String> |
getOutputs()
Get the outputs available.
|
TreeSet<String> |
getOutputs(String input)
Get the outputs available for the given input type.
|
TreeSet<String> |
getOutputs(TreeSet<String> inputs)
Get the common outputs available for the given input types.
|
Vector<String> |
getServers()
Get a list of connected software reuse servers.
|
static void |
main(String[] args)
Command line polyglot interface.
|
convertLater, waitOnPendingpublic PolyglotClient(String server, int port)
server - the name of the Polyglot serverport - the port used for the connectionpublic Vector<String> getServers()
getServers in class Polyglotpublic Vector<String> getClients()
public TreeSet<String> getOutputs()
getOutputs in class Polyglotpublic TreeSet<String> getOutputs(String input)
getOutputs in class Polyglotinput - the input typepublic TreeSet<String> getOutputs(TreeSet<String> inputs)
getOutputs in class Polyglotinputs - the input typespublic IOGraph<String,String> getInputOutputGraph()
getInputOutputGraph in class Polyglotpublic IOGraph<String,String> getDistributedInputOutputGraph()
getDistributedInputOutputGraph in class Polyglotpublic void convert(String input_filename, String output_path, String output_type)
public void close()
public static void main(String[] args)
args - command line argumentsCopyright © 2014. All rights reserved.