public static enum CmsImportExportManager.TimestampMode extends java.lang.Enum<CmsImportExportManager.TimestampMode>
| Enum Constant and Description |
|---|
FILETIME
Use the timestamp of the imported file.
|
IMPORTTIME
Use the time of import for the timestamp.
|
VFSTIME
The timestamp is explicitly given.
|
| Modifier and Type | Method and Description |
|---|---|
static CmsImportExportManager.TimestampMode |
getDefaultTimeStampMode()
Returns the default timestamp mode.
|
static CmsImportExportManager.TimestampMode |
getEnum(java.lang.String value)
More robust version of
Enum.valueOf(java.lang.Class, String) that is case insensitive
and defaults for all "unreadable" arguments to the default timestamp mode. |
static CmsImportExportManager.TimestampMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsImportExportManager.TimestampMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsImportExportManager.TimestampMode FILETIME
public static final CmsImportExportManager.TimestampMode IMPORTTIME
public static final CmsImportExportManager.TimestampMode VFSTIME
public static CmsImportExportManager.TimestampMode[] values()
for (CmsImportExportManager.TimestampMode c : CmsImportExportManager.TimestampMode.values()) System.out.println(c);
public static CmsImportExportManager.TimestampMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CmsImportExportManager.TimestampMode getDefaultTimeStampMode()
public static CmsImportExportManager.TimestampMode getEnum(java.lang.String value)
Enum.valueOf(java.lang.Class, String) that is case insensitive
and defaults for all "unreadable" arguments to the default timestamp mode.value - the TimeMode value as Stringvalue as TimeMode object, or the default time mode, if value can't be converted to a TimeMode object.