public class CacheUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.text.SimpleDateFormat |
dateFormat |
static java.lang.String |
SEPARATOR |
static char |
SEPARATOR_CHAR |
| Constructor and Description |
|---|
CacheUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ILogEntry |
fromCacheString(java.lang.String str)
Build a log out of its string representation
|
static java.lang.String |
toCacheString(LogBinaryRecord log)
Transform the log in a string of zero separated values
It is very similato what is used in the FileCache
|
public static final java.text.SimpleDateFormat dateFormat
public static final char SEPARATOR_CHAR
public static final java.lang.String SEPARATOR
public static ILogEntry fromCacheString(java.lang.String str) throws LogEngineException
str - The string representing a logLogEngineExceptionpublic static java.lang.String toCacheString(LogBinaryRecord log)
log - The log to get the string representation