public class PvlHighlighter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
CVS ID
|
protected java.io.File |
label
Reference to the Log File
|
Constructor and Description |
---|
PvlHighlighter(java.io.File label)
Create a new highlighter for the given PVL file.
|
Modifier and Type | Method and Description |
---|---|
int |
highlight(java.io.Writer writer)
Highlight the label file and output result to the writer.
|
static void |
main(java.lang.String[] args)
Command line interface, highlight each file and output to stdout.
|
public static final java.lang.String ID
protected java.io.File label
public PvlHighlighter(java.io.File label)
label
- Detached label filepublic int highlight(java.io.Writer writer) throws java.io.IOException
writer
- Outputjava.io.IOException
- Problem parsing log filepublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- List of log filesjava.lang.Exception
- Could not highlight filesCopyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona