gov.nasa.pds.imaging.generation.label
Class PDS3Label

java.lang.Object
  extended by gov.nasa.pds.imaging.generation.label.PDS3Label
All Implemented Interfaces:
PDSContext, PDSObject

public class PDS3Label
extends Object
implements PDSObject

Author:
jpadams, atinio, astanboli

Field Summary
static String CONTEXT
           
 ContextUtil ctxtUtil
           
 
Constructor Summary
PDS3Label()
           
PDS3Label(String filePath)
          Constructor
 
Method Summary
 Object get(String key)
          Retrieves the value for the specified key
 String getContext()
           
 String getFilePath()
           
 List getList(String key)
           
 List<Map<String,String>> getRecords(String... keyword)
           
 List<Map<String,String>> getRecordsWithIndices(List<String> keys, String... keyword)
           
 String getUnits(String key)
           
static void main(String[] args)
           
 void setConfigPath(String path)
           
 void setInputPath(String filePath)
           
 void setMappings()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTEXT

public static final String CONTEXT
See Also:
Constant Field Values

ctxtUtil

public ContextUtil ctxtUtil
Constructor Detail

PDS3Label

public PDS3Label(String filePath)
Constructor

Parameters:
filePath -

PDS3Label

public PDS3Label()
Method Detail

setInputPath

public void setInputPath(String filePath)
Specified by:
setInputPath in interface PDSContext

getContext

public String getContext()
Specified by:
getContext in interface PDSContext

getFilePath

public String getFilePath()
Specified by:
getFilePath in interface PDSObject

setConfigPath

public void setConfigPath(String path)
Specified by:
setConfigPath in interface PDSContext

get

public Object get(String key)
Retrieves the value for the specified key

Specified by:
get in interface PDSContext
Parameters:
key -
Returns:
value for key

getUnits

public String getUnits(String key)
Specified by:
getUnits in interface PDSContext

getRecordsWithIndices

public List<Map<String,String>> getRecordsWithIndices(List<String> keys,
                                                      String... keyword)
                                               throws TemplateException
Specified by:
getRecordsWithIndices in interface PDSObject
Throws:
TemplateException

getRecords

public List<Map<String,String>> getRecords(String... keyword)
                                    throws TemplateException
Specified by:
getRecords in interface PDSObject
Throws:
TemplateException

getList

public List getList(String key)
Specified by:
getList in interface PDSObject

setMappings

public void setMappings()
Specified by:
setMappings in interface PDSContext

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)


Copyright © 2010-2011 Planetary Data System. All Rights Reserved.