public abstract class AbstractSyslogMessage extends Object implements SyslogMessageIF
More information on the PCI DSS specification is available here:
https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml
Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy of the LGPL license is available in the META-INF folder in all distributions of Syslog4j and in the base directory of the "doc" ZIP.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DATE_FORMAT |
static char |
DEFAULT_DELIMITER |
static String |
DEFAULT_REPLACE_DELIMITER |
static String |
DEFAULT_TIME_FORMAT |
static String |
UNDEFINED |
| Constructor and Description |
|---|
AbstractSyslogMessage() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
createMessage() |
protected String |
generateDate() |
protected String[] |
generateDateAndTime(Date date) |
protected String |
generateLocalHostName() |
protected String |
generateTime() |
protected String |
getDateFormat() |
protected char |
getDelimiter() |
protected String |
getReplaceDelimiter() |
protected String |
getTimeFormat() |
protected boolean |
nullOrEmpty(String value) |
protected String |
replaceDelimiter(String fieldName,
String fieldValue,
char delimiter,
String replaceDelimiter) |
public static final String UNDEFINED
public static final String DEFAULT_DATE_FORMAT
public static final String DEFAULT_TIME_FORMAT
public static final char DEFAULT_DELIMITER
public static final String DEFAULT_REPLACE_DELIMITER
protected char getDelimiter()
protected String getReplaceDelimiter()
protected String getDateFormat()
protected String getTimeFormat()
protected String generateDate()
protected String generateTime()
protected String generateLocalHostName()
protected boolean nullOrEmpty(String value)
protected String replaceDelimiter(String fieldName, String fieldValue, char delimiter, String replaceDelimiter)
public abstract String createMessage()
createMessage in interface SyslogMessageIFCopyright © 2017. All rights reserved.