|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.GribIndexName
public class GribIndexName
Field Summary | |
---|---|
static String |
cache
Cache Directory, directory to create index if it can't be create in the same directory as the grib file directory |
static boolean |
createCurrent
Create current index |
static String |
currentSuffix
Current Index suffix, suffix to use by default |
static String |
oldSuffix
Old Index suffix |
static boolean |
updateToCurrent
Update to current suffix |
Constructor Summary | |
---|---|
GribIndexName()
|
Method Summary | |
---|---|
static String |
get(String gribName)
Get Index Name, return currentSuffix first, then oldSuffix if it exists. |
static String |
getCache()
|
static String |
getCurrentSuffix(String gribName)
Get Index Name, return currentSuffix if no index exist, create name with currentSuffix |
static String |
getIndex(String gribName,
boolean includeOld)
|
static boolean |
isCreateCurrent()
|
static boolean |
isUpdateToCurrent()
|
static void |
setCache(String cache)
|
static void |
setCreateCurrent(boolean createCurrent)
|
static void |
setUpdateToCurrent(boolean updateToCurrent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String currentSuffix
public static final String oldSuffix
public static boolean updateToCurrent
public static boolean createCurrent
public static String cache
Constructor Detail |
---|
public GribIndexName()
Method Detail |
---|
public static String getCurrentSuffix(String gribName)
gribName
- used to make Index name
public static String get(String gribName)
gribName
- used to make Index name
public static String getIndex(String gribName, boolean includeOld)
public static boolean isUpdateToCurrent()
public static void setUpdateToCurrent(boolean updateToCurrent)
public static boolean isCreateCurrent()
public static void setCreateCurrent(boolean createCurrent)
public static String getCache()
public static void setCache(String cache)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |