HiRISE

HiRISE.HiCat.HiTList
Class PTF_Builder

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

Deprecated. Use the PTFBuilder class instead

public class PTF_Builder
extends Object

Build PTF 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).

Version:
1.21
Author:
Rodney Heyd UA/PIRL
See Also:
HiRISE.HiCat.HiTList

Field Summary
static String DOWNLINK_PRIORITY
          Deprecated. The default downlink priority.
static String ID
          Deprecated. Class identification name with source code version and date.
static String INSTRUMENT_SET
          Deprecated. The default value of the instrument set field.
static int OBSERVATION_DURATION
          Deprecated. The default value of the observation duration.
static int SETUP_DURATION
          Deprecated. The default value of the setup duration.
 
Constructor Summary
PTF_Builder(Hashtable Precedence)
          Deprecated. Construct a ptf from a vector of vectors.
 
Method Summary
 void add(Vector data_vector, Vector column_names, String list_type)
          Deprecated. Add a list of records to be output in ptf format.
 void Write()
          Deprecated. Writes the ROI records contained in this object to System.out
 void Write(OutputStream output)
          Deprecated. Writes the PTF 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

INSTRUMENT_SET

public static final String INSTRUMENT_SET
Deprecated. 
The default value of the instrument set field.

See Also:
Constant Field Values

OBSERVATION_DURATION

public static final int OBSERVATION_DURATION
Deprecated. 
The default value of the observation duration.

See Also:
Constant Field Values

SETUP_DURATION

public static final int SETUP_DURATION
Deprecated. 
The default value of the setup duration.

See Also:
Constant Field Values

DOWNLINK_PRIORITY

public static final String DOWNLINK_PRIORITY
Deprecated. 
The default downlink priority.

See Also:
Constant Field Values
Constructor Detail

PTF_Builder

public PTF_Builder(Hashtable Precedence)
Deprecated. 
Construct a ptf from a vector of vectors.

Parameters:
Precedence - - this is a hash table containing the name of a list type names mapped to a precedence value. This hash table is used to weed out duplicates if multiple lists are being output all at once.
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 be output in ptf format.

Parameters:
data_vector - A vector of vectors in which each vector element represents a data record to be output.
column_names - A vector containing the column names of each column in the data_vector.
list_type - The type of list being added. The list type should correspond to one of the list types in the precedence hash passed to the constructor.
Throws:
ROIF_Exception

Write

public void Write(OutputStream output)
Deprecated. 
Writes the PTF 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