public class PTFBuilder
extends java.lang.Object
TargetList.ListTypes
of input lists, (eg. "First Half Stereo",
"Second Half Stereo", "High Stability", etc).HiRISE.HiCat.HiTList
,
TargetList.ListTypes
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEBUG_ADD_VECTOR_PROPERTY |
static java.lang.String |
DEBUG_CONSTRUCTOR_PROPERTY |
static java.lang.String |
DEBUG_DUPLICATE_PROPERTY |
static java.lang.String |
DEBUG_PTF_RECORDS_PROPERTY |
static java.lang.String |
DEBUG_WRITE_PROPERTY |
static java.lang.String |
DOWNLINK_PRIORITY
The default downlink priority.
|
static java.lang.String |
ID
Class identification name with source code version and date.
|
static java.lang.String |
INSTRUMENT_SET
The default value of the instrument set field.
|
static int |
OBSERVATION_DURATION
The default value of the observation duration.
|
static int |
SETUP_DURATION
The default value of the setup duration.
|
Constructor and Description |
---|
PTFBuilder()
Construct a ptf from a vector of vectors.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.Vector<java.util.Vector<java.lang.String>> data_vector,
java.util.Vector<java.lang.String> column_names,
TargetList.ListTypes list_type)
Add a list of records to be output in ptf format.
|
void |
Write()
Writes the ROI records contained in this object to System.out
|
void |
Write(java.io.OutputStream output)
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 static final java.lang.String DEBUG_CONSTRUCTOR_PROPERTY
public static final java.lang.String DEBUG_ADD_VECTOR_PROPERTY
public static final java.lang.String DEBUG_PTF_RECORDS_PROPERTY
public static final java.lang.String DEBUG_WRITE_PROPERTY
public static final java.lang.String DEBUG_DUPLICATE_PROPERTY
public void add(java.util.Vector<java.util.Vector<java.lang.String>> data_vector, java.util.Vector<java.lang.String> column_names, TargetList.ListTypes 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