|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.util.PathUtils
public abstract class PathUtils
Utility for generating date-based paths.
Relies on the Formatter style.
Formatter| Constructor Summary | |
|---|---|
PathUtils()
|
|
| Method Summary | |
|---|---|
static String |
format(String pathFormat)
Generates a timed-based path, based on the current date, using the format of Formatter. |
static String |
format(String pathFormat,
boolean appendUUID)
Generates a timed-based path, based on the current date, using the format of Formatter. |
static String |
format(String pathFormat,
boolean appendUUID,
Date date)
Generates a timed-based path, based on the given date, using the format of Formatter. |
static String |
format(String pathFormat,
Date date)
Generates a timed-based path, based on the given date, using the format of Formatter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathUtils()
| Method Detail |
|---|
public static String format(String pathFormat,
boolean appendUUID)
Formatter.
pathFormat - Formatted path, the variable in the path will be
replaced by Date.
http://docs.oracle.com/javase/6/docs/api/java/util/Formatter.html#dtappendUUID - Whether a UUID is appended to the generated path
public static String format(String pathFormat)
Formatter.
pathFormat - Path format, the variable in the path will be
replaced by Date.
public static String format(String pathFormat,
Date date)
Formatter.
pathFormat - Path format, the variable in the path will be
replaced by Date.
public static String format(String pathFormat,
boolean appendUUID,
Date date)
Formatter.
pathFormat - Path format, the variable in the path will be
replaced by Date.appendUUID - whether or not to append a UUID at the enddate - date to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||