public class ProductToolsLabelReader
extends java.lang.Object
Constructor and Description |
---|
ProductToolsLabelReader() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getPDSObjectNames() |
gov.nasa.pds.tools.label.Label |
parseLabel(java.lang.String filePath)
Parse the label and create a XML DOM representation.
|
void |
setIncludePaths(java.util.List<java.lang.String> paths)
Set the paths to search for files referenced by pointers.
|
java.util.Map<java.lang.String,java.util.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(java.lang.String filePath) throws java.lang.Exception
filePath
- java.lang.Exception
public java.util.Map<java.lang.String,java.util.Map> traverseDOM(gov.nasa.pds.tools.label.Label label)
root
- public java.util.List<java.lang.String> getPDSObjectNames()
public void setIncludePaths(java.util.List<java.lang.String> paths) throws java.net.MalformedURLException
Default is to always look first in the same directory as the label, then search specified directories.
i
- List of pathsjava.net.MalformedURLException
Copyright © 2010-2019 Planetary Data System. All Rights Reserved.