PTFBuilder
class insteadpublic class PTF_Builder
extends java.lang.Object
HiRISE.HiCat.HiTList
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DOWNLINK_PRIORITY
Deprecated.
The default downlink priority.
|
static java.lang.String |
ID
Deprecated.
Class identification name with source code version and date.
|
static java.lang.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 and Description |
---|
PTF_Builder(java.util.Hashtable Precedence)
Deprecated.
Construct a ptf from a vector of vectors.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.Vector data_vector,
java.util.Vector column_names,
java.lang.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(java.io.OutputStream output)
Deprecated.
Writes the PTF records contained in this object to the specified
OutputStream
|
public static final java.lang.String ID
public static final java.lang.String INSTRUMENT_SET
public static final int OBSERVATION_DURATION
public static final int SETUP_DURATION
public static final java.lang.String DOWNLINK_PRIORITY
public PTF_Builder(java.util.Hashtable Precedence)
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.public void add(java.util.Vector data_vector, java.util.Vector column_names, java.lang.String list_type) throws ROIF_Exception
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.ROIF_Exception
public void Write(java.io.OutputStream output)
output
- The OutputStream the ROI's should be written to. This should
normally be a FileOutputStream.public void Write()
Write(OutputStream)
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona