HiRISE

HiRISE.HiCat.HiTList
Class InfoBuilder

java.lang.Object
  extended by HiRISE.HiCat.HiTList.InfoBuilder

public class InfoBuilder
extends Object

The Info_Builder class constructs the records used by the HiRISE CIPPs for planning a cycle. These are usually called "CIPP" Lists.

Author:
Rodney Heyd UA/PIRL

Field Summary
static String DEBUG_ADD_VECTOR_PROPERTY
           
static String DEBUG_CONSTUCTOR_PROPERTY
           
static String DEBUG_DUPLICATE_PROPERTY
           
static String DEBUG_RECORD_PROPERTY
           
static String DEBUG_WRITE_PROPERTY
           
static String ID
          Class identification name with source code version and date.
static String[] REQUIRED_FIELDS
          The REQUIRED_FIELDS array contains the list of required fields needed to build a CIPP list.
 
Constructor Summary
InfoBuilder()
          Constructs a new Info_Build class
 
Method Summary
 void add(Vector<Vector<String>> data_vector, Vector<String> column_names, TargetList.ListTypes list_type)
          Add a set of HiTList records to be output in the info format.
 void Write()
          Write the entire set of added records to System.out.
 void Write(OutputStream output)
          Write the entire set of records to the supplied OutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values

REQUIRED_FIELDS

public static final String[] REQUIRED_FIELDS
The REQUIRED_FIELDS array contains the list of required fields needed to build a CIPP list.


DEBUG_CONSTUCTOR_PROPERTY

public static final String DEBUG_CONSTUCTOR_PROPERTY
See Also:
Constant Field Values

DEBUG_ADD_VECTOR_PROPERTY

public static final String DEBUG_ADD_VECTOR_PROPERTY
See Also:
Constant Field Values

DEBUG_RECORD_PROPERTY

public static final String DEBUG_RECORD_PROPERTY
See Also:
Constant Field Values

DEBUG_WRITE_PROPERTY

public static final String DEBUG_WRITE_PROPERTY
See Also:
Constant Field Values

DEBUG_DUPLICATE_PROPERTY

public static final String DEBUG_DUPLICATE_PROPERTY
See Also:
Constant Field Values
Constructor Detail

InfoBuilder

public InfoBuilder()
Constructs a new Info_Build class

Method Detail

add

public void add(Vector<Vector<String>> data_vector,
                Vector<String> column_names,
                TargetList.ListTypes list_type)
         throws ROIF_Exception
Add a set of HiTList records to be output in the info format. Multiple sets of records may be added before writing out the entire list.

Parameters:
data_vector - - The vector of vectors containing the HiTList column data
column_names - - The vector of column names
list_type - - A string that is one of the list types from HiTList.conf
Throws:
ROIF_Exception

Write

public void Write(OutputStream output)
Write the entire set of records to the supplied OutputStream

Parameters:
output - - the OutputStream to write the info records to.

Write

public void Write()
Write the entire set of added records to System.out.


HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona