laser.artifact.commandline
Class VisualizeArtifact

java.lang.Object
  extended by laser.artifact.commandline.VisualizeArtifact

public class VisualizeArtifact
extends java.lang.Object

VisualizeArtifact allows the user to create a visualization of the given ArtifactInterface.

Author:
Heather M. Conboy (laser-software@cs.umass.edu), Nathan A. Jokel

Field Summary
static java.lang.String ARTIFACT_CLASS_NAME
          The name of the ArtifactInterface Class
static java.lang.String ARTIFACT_CLASS_USAGE
          The help usage for the ArtifactInterface Class
static java.lang.String ARTIFACT_CLASS_WHERE
          The help where for the ArtifactInterface Class
static java.lang.String INPUT_ARG_NAME
          The argument name for the input
static java.lang.String INPUT_NAME
          The name for the input
static java.lang.String INPUT_USAGE
          The help usage for the input
static java.lang.String INPUT_WHERE
          The help where for the input
static java.lang.String OUTPUT_ARG_NAME
          The argument name for the output
static java.lang.String OUTPUT_NAME
          The name for the output
static java.lang.String OUTPUT_USAGE
          The help usage for the output
static java.lang.String OUTPUT_WHERE
          The help usage for the output
static java.lang.String USAGE
          The help usage for this command line tool
static java.lang.String WHERE
          The help where for this command line tool
static java.lang.String YEARS
          The help copyright notice years for this command line tool
 
Constructor Summary
VisualizeArtifact()
           
 
Method Summary
static void main(java.lang.String[] args)
          Inputs the given artifact and outputs its visual form to STDOUT or the specified file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARTIFACT_CLASS_NAME

public static final java.lang.String ARTIFACT_CLASS_NAME
The name of the ArtifactInterface Class


ARTIFACT_CLASS_USAGE

public static final java.lang.String ARTIFACT_CLASS_USAGE
The help usage for the ArtifactInterface Class


ARTIFACT_CLASS_WHERE

public static final java.lang.String ARTIFACT_CLASS_WHERE
The help where for the ArtifactInterface Class


INPUT_NAME

public static final java.lang.String INPUT_NAME
The name for the input

See Also:
Constant Field Values

INPUT_ARG_NAME

public static final java.lang.String INPUT_ARG_NAME
The argument name for the input


INPUT_USAGE

public static final java.lang.String INPUT_USAGE
The help usage for the input


INPUT_WHERE

public static final java.lang.String INPUT_WHERE
The help where for the input


OUTPUT_NAME

public static final java.lang.String OUTPUT_NAME
The name for the output

See Also:
Constant Field Values

OUTPUT_ARG_NAME

public static final java.lang.String OUTPUT_ARG_NAME
The argument name for the output


OUTPUT_USAGE

public static final java.lang.String OUTPUT_USAGE
The help usage for the output


OUTPUT_WHERE

public static final java.lang.String OUTPUT_WHERE
The help usage for the output


YEARS

public static final java.lang.String YEARS
The help copyright notice years for this command line tool

See Also:
Constant Field Values

USAGE

public static final java.lang.String USAGE
The help usage for this command line tool


WHERE

public static final java.lang.String WHERE
The help where for this command line tool

Constructor Detail

VisualizeArtifact

public VisualizeArtifact()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        PersistentException,
                        VisualizableException
Inputs the given artifact and outputs its visual form to STDOUT or the specified file.

NOTE: If the -help flag is set anywhere within the command line, any other command line arguments are ignored. The help message will be printed out and the executable will exit.

Parameters:
args - the list of arguments read in
Throws:
java.io.IOException - if an error occurs read/writing a file
PersistentException - if an error occurs reading in the persistent form of the artifact
VisualizableException - if an error occurs visualizing the artifact