public class UnidataTdsDataPathRemapper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UnidataTdsDataPathRemapper.UrlRemapperBean |
Constructor and Description |
---|
UnidataTdsDataPathRemapper() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getMappedUrlPaths(java.lang.String oldUrlPath)
Get the new datasetUrlPath given the old dataset UrlPath
|
java.util.List<java.lang.String> |
getMappedUrlPaths(java.lang.String oldUrlPath,
java.lang.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
|
public java.util.List<java.lang.String> getMappedUrlPaths(java.lang.String oldUrlPath)
oldUrlPath
- Old dataset UrlPathpublic java.util.List<java.lang.String> getMappedUrlPaths(java.lang.String oldUrlPath, java.lang.String urlType)
oldUrlPath
- Old dataset UrlPathurlType
- either file (which includes latest) or best (for best time series)