public class PDS2FName extends Object
Modifier and Type | Field and Description |
---|---|
static int |
dirHandler |
static int |
fileHandler |
static int |
labelHandler |
static int |
notLabel |
static int |
recursiveCall |
Constructor and Description |
---|
PDS2FName() |
Modifier and Type | Method and Description |
---|---|
static String |
getDirectory(File dirFile,
String filenames) |
static String |
getNames(File labelFile,
String filenames)
Entry for ZipFileHandler and ZipNFileHandler which returns list of files
belonging to the product label file.
|
static String |
getNames(File labelFile,
String filenames,
int caller,
StringBuffer listing,
boolean validLabelFile)
Returns the filenames in the product and optionally listing of the files scanned.
|
static String |
getTESNames(File TESFile,
String filenames) |
static void |
main(String[] argv) |
public static final int fileHandler
public static final int dirHandler
public static final int labelHandler
public static final int recursiveCall
public static final int notLabel
public static String getNames(File labelFile, String filenames)
labelFile
- Product label file.filenames
- List of filenames included in the product.public static String getNames(File labelFile, String filenames, int caller, StringBuffer listing, boolean validLabelFile)
labelFile
- Product label file.filenames
- List of filenames already found.caller
- Controls execution code branches.list
- Listing of files scanned if not null.public static void main(String[] argv)
Copyright © 2010–2017 Planetary Data System. All rights reserved.