HiRISE

HiRISE.HiCat.HiTList
Class ROIF_Builder

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

Deprecated. use the ROIFBuilder class instead

public class ROIF_Builder
extends Object

Build ROI records from a data vector retrieved from HiCat. The class will accept several different types of input lists, (eg. "First Half Stereo", "Second Half Stereo", "High Stability", etc). The "COMMENT" field of the generated ROI records will contain additional information depending on the type of list being added to this object.

Version:
1.20
Author:
Rodney heyd UA/PIRL

Field Summary
static String ID
          Deprecated. Class identification name with source code version and date.
 
Constructor Summary
ROIF_Builder(Hashtable Precedence)
          Deprecated. Create an ROIF_Builder object.
 
Method Summary
 void add(Vector data_vector, Vector column_names, String list_type)
          Deprecated. Add a list of records to the object for output in a region of interest file.
 void Write()
          Deprecated. Writes the ROI records contained in this object to System.out
 void Write(OutputStream output)
          Deprecated. Writes the ROI records contained in this object to the specified 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
Deprecated. 
Class identification name with source code version and date.

See Also:
Constant Field Values
Constructor Detail

ROIF_Builder

public ROIF_Builder(Hashtable Precedence)
Deprecated. 
Create an ROIF_Builder object. The ROIF file will be output using the Precedence hashtable if multiple lists are to be output.

Parameters:
Precedence - A hashtable containing a mapping of list type names to precedence values (Integers).
Method Detail

add

public void add(Vector data_vector,
                Vector column_names,
                String list_type)
         throws ROIF_Exception
Deprecated. 
Add a list of records to the object for output in a region of interest file.

Parameters:
data_vector - - a vector in which each element is another vector representing each record to be output.
column_names - - a vector containing the column names of the data_vector.
list_type - - A string containing the name of the type of list being added. This list_type should correspond to one of the list_types in the Precedence hashtable.
Throws:
ROIF_Exception

Write

public void Write(OutputStream output)
Deprecated. 
Writes the ROI records contained in this object to the specified OutputStream

Parameters:
output - The OutputStream the ROI's should be written to. This should normally be a FileOutputStream.

Write

public void Write()
Deprecated. 
Writes the ROI records contained in this object to System.out

See Also:
Write(OutputStream)

HiRISE

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