Static Public Member Functions | Static Public Attributes

com.cosylab.logging.engine.ACS.CacheUtils Class Reference

List of all members.

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

Detailed Description

A collection of utils methods

Author:
acaproni

Member Function Documentation

static synchronized ILogEntry com.cosylab.logging.engine.ACS.CacheUtils.fromCacheString ( String  str  )  throws LogEngineException [static]

Build a log out of its string representation

Parameters:
str The string representing a log
Returns:
The 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

Parameters:
log The log to get the string representation
Returns:
A string representation of the log

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties