gov.nasa.pds.imaging.generation.label
Class PDS3Label
java.lang.Object
gov.nasa.pds.imaging.generation.label.PDS3Label
- All Implemented Interfaces:
- PDSContext, PDSObject
public class PDS3Label
- extends Object
- implements PDSObject
- Author:
- jpadams, atinio, astanboli
CONTEXT
public static final String CONTEXT
- See Also:
- Constant Field Values
ctxtUtil
public ContextUtil ctxtUtil
PDS3Label
public PDS3Label(String filePath)
- Constructor
- Parameters:
filePath
-
PDS3Label
public PDS3Label()
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.