public class UnidataTdsDataPathRemapper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UnidataTdsDataPathRemapper.UrlRemapperBean |
Constructor and Description |
---|
UnidataTdsDataPathRemapper() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getMappedUrlPaths(String oldUrlPath)
Get the new datasetUrlPath given the old dataset UrlPath
|
List<String> |
getMappedUrlPaths(String oldUrlPath,
String urlType)
Get the new datasetUrlPath given the old dataset UrlPath
and the dataset "type" (a "file" or "best time series")
A "file" urlPath looks something like:
fmrc/NCEP/GFS/Alaska_191km/files/
while a "best" urlPath looks like:
fmrc/NCEP/GFS/Alaska_191km/NCEP-GFS-Alaska_191km_best.ncd
|
static void |
main(String[] args) |
public List<String> getMappedUrlPaths(String oldUrlPath)
oldUrlPath
- Old dataset UrlPathpublic List<String> getMappedUrlPaths(String oldUrlPath, String urlType)
oldUrlPath
- Old dataset UrlPathurlType
- either file (which includes latest) or best (for best time series)public static void main(String[] args) throws IOException
IOException
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.