Static Public Member Functions | |
static synchronized ILogEntry | fromCacheString (String str) throws LogEngineException |
static String | toCacheString (LogBinaryRecord log) |
Static Public Attributes | |
static final SimpleDateFormat | dateFormat = new IsoDateFormat() |
static final char | SEPARATOR_CHAR = (char)0 |
static final String | SEPARATOR = ""+CacheUtils.SEPARATOR_CHAR |
A collection of utils methods
static synchronized ILogEntry com.cosylab.logging.engine.ACS.CacheUtils.fromCacheString | ( | String | str | ) | throws LogEngineException [static] |
Build a log out of its string representation
str | The string representing a log |
References com.cosylab.logging.engine.ACS.CacheUtils.dateFormat, and com.cosylab.logging.engine.ACS.CacheUtils.SEPARATOR.
static String com.cosylab.logging.engine.ACS.CacheUtils.toCacheString | ( | LogBinaryRecord | log | ) | [static] |
Transform the log in a string of zero separated values It is very similato what is used in the FileCache
log | The log to get the string representation |
final SimpleDateFormat com.cosylab.logging.engine.ACS.CacheUtils.dateFormat = new IsoDateFormat() [static] |
Referenced by com.cosylab.logging.engine.ACS.CacheUtils.fromCacheString().
final String com.cosylab.logging.engine.ACS.CacheUtils.SEPARATOR = ""+CacheUtils.SEPARATOR_CHAR [static] |
Referenced by com.cosylab.logging.engine.ACS.CacheUtils.fromCacheString().
final char com.cosylab.logging.engine.ACS.CacheUtils.SEPARATOR_CHAR = (char)0 [static] |