|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oodt.cas.metadata.util.PathUtils
public final class PathUtils
A Utility class for replacing environment variables and maniuplating file path strings.
.| Field Summary | |
|---|---|
static String |
DELIMITER
|
| Constructor Summary | |
|---|---|
PathUtils()
|
|
| Method Summary | |
|---|---|
static String |
doDynamicDateFormatReplacement(String string,
Metadata metadata)
|
static String |
doDynamicDateReplacement(String string,
Metadata metadata)
|
static String |
doDynamicDateRollReplacement(String string,
Metadata metadata)
usage format: [DATE_ADD( )] example: [DATE_ADD(2009-12-31, yyyy-MM-dd, 1, day)] . |
static String |
doDynamicDateToMillisReplacement(String string,
Metadata metadata)
Replaces String method of format [DATE_TO_MILLIS( |
static String |
doDynamicDateToSecsReplacement(String string,
Metadata metadata)
Replaces String method of format [DATE_TO_SECS( |
static String |
doDynamicReplacement(String string)
|
static String |
doDynamicReplacement(String string,
Metadata metadata)
|
static String |
doDynamicUtcToTaiDateReplacement(String string,
Metadata metadata)
Replaces String method of format [UTC_TO_TAI( |
static String |
replaceEnvVariables(String origPath)
|
static String |
replaceEnvVariables(String origPath,
Metadata metadata)
|
static String |
replaceEnvVariables(String origPath,
Metadata metadata,
boolean expand)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String DELIMITER
| Constructor Detail |
|---|
public PathUtils()
| Method Detail |
|---|
public static String replaceEnvVariables(String origPath)
public static String replaceEnvVariables(String origPath,
Metadata metadata)
public static String replaceEnvVariables(String origPath,
Metadata metadata,
boolean expand)
public static String doDynamicReplacement(String string)
throws Exception
Exception
public static String doDynamicReplacement(String string,
Metadata metadata)
throws Exception
Exception
public static String doDynamicDateReplacement(String string,
Metadata metadata)
throws Exception
Exception
public static String doDynamicDateRollReplacement(String string,
Metadata metadata)
throws Exception
Exception
public static String doDynamicDateFormatReplacement(String string,
Metadata metadata)
throws Exception
Exception
public static String doDynamicUtcToTaiDateReplacement(String string,
Metadata metadata)
throws Exception
Exception
public static String doDynamicDateToSecsReplacement(String string,
Metadata metadata)
throws Exception
Exception
public static String doDynamicDateToMillisReplacement(String string,
Metadata metadata)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||