public class TargetExaminer extends Target
Constructor and Description |
---|
TargetExaminer(URL url,
boolean isDir)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<String> |
getTargetContent(URL url,
String nodeCheck,
String fieldCheck,
String fieldCheck2)
Return the content of the field within a node.
|
static boolean |
isTargetBundleType(URL url)
Check if a given url is of Bundle type.
|
static boolean |
isTargetCollectionType(URL url)
Check if a given url is of Collection type.
|
public TargetExaminer(URL url, boolean isDir)
public static boolean isTargetBundleType(URL url)
url
- the url of file to check.public static boolean isTargetCollectionType(URL url)
url
- the url of file to check.public static ArrayList<String> getTargetContent(URL url, String nodeCheck, String fieldCheck, String fieldCheck2)
url
- the url of file to check.nodeCheck
- the tag of the node to check.fieldCheck
- the tag of the field within node to check.fieldCheck2
- additional tag of the field within node to check.Copyright © 2022 Jet Propulsion Laboratory, California Institute of Technology. All rights reserved.