public class ProductToolsLabelReader extends Object
Constructor and Description |
---|
ProductToolsLabelReader() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getPDSObjectNames() |
gov.nasa.pds.tools.label.Label |
parseLabel(String filePath)
Parse the label and create a XML DOM representation.
|
void |
setIncludePaths(List<String> paths)
Set the paths to search for files referenced by pointers.
|
Map<String,Map> |
traverseDOM(gov.nasa.pds.tools.label.Label label)
Traverses the DOM returned by the PDSLabelToDom object.
|
public gov.nasa.pds.tools.label.Label parseLabel(String filePath) throws Exception
filePath
- Exception
public Map<String,Map> traverseDOM(gov.nasa.pds.tools.label.Label label)
root
- public void setIncludePaths(List<String> paths) throws MalformedURLException
Default is to always look first in the same directory as the label, then search specified directories.
i
- List of pathsMalformedURLException
Copyright © 2010–2017 Planetary Data System. All rights reserved.