| Modifier and Type | Class and Description |
|---|---|
protected class |
DBLogWriter.SavingThread |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
protected static boolean |
LOG_ENABLED |
| Constructor and Description |
|---|
DBLogWriter(String file)
append parameter default value is true,
DBLogWriter(String, boolean) |
DBLogWriter(String file,
boolean append) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
static String |
getFormattedString(String table,
Hashtable columnsValues,
String operation,
String user,
long date,
Hashtable conditions) |
static String |
getFormattedString(String table,
Vector columns,
String operation,
String user,
long date,
Hashtable conditions) |
static boolean |
isLogEnabled() |
void |
newLine() |
protected void |
openFile() |
static void |
setLogEnabled(boolean enabled) |
void |
write(String s) |
public DBLogWriter(String file) throws Exception
DBLogWriter(String, boolean)file - Exceptionpublic void flush()
public static final String getFormattedString(String table, Vector columns, String operation, String user, long date, Hashtable conditions)
public static final String getFormattedString(String table, Hashtable columnsValues, String operation, String user, long date, Hashtable conditions)
public static boolean isLogEnabled()
public static void setLogEnabled(boolean enabled)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.