|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.history.HistoryWriterImpl
public class HistoryWriterImpl
| Field Summary | |
|---|---|
static int |
MAX_RECORDS_PER_FILE
Maximum records per file. |
| Constructor Summary | |
|---|---|
protected |
HistoryWriterImpl(HistoryImpl historyImpl)
|
| Method Summary | |
|---|---|
void |
addRecord(HistoryRecord record)
Stores the passed record complying with the historyRecordStructure. |
void |
addRecord(String[] propertyValues)
Stores the passed propertyValues complying with the historyRecordStructure. |
void |
addRecord(String[] propertyValues,
Date timestamp)
Stores the passed propertyValues complying with the historyRecordStructure. |
void |
updateRecord(String idProperty,
String idValue,
String property,
String newValue)
Updates a record by searching for record with idProperty which have idValue and updating/creating the property with newValue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MAX_RECORDS_PER_FILE
| Constructor Detail |
|---|
protected HistoryWriterImpl(HistoryImpl historyImpl)
| Method Detail |
|---|
public void addRecord(HistoryRecord record)
throws IOException
HistoryWriter
addRecord in interface HistoryWriterrecord - The record to be added.
IOException
public void addRecord(String[] propertyValues)
throws IOException
HistoryWriter
addRecord in interface HistoryWriterpropertyValues - The values of the record.
IOException
public void addRecord(String[] propertyValues,
Date timestamp)
throws IOException
HistoryWriter
addRecord in interface HistoryWriterpropertyValues - The values of the record.timestamp - The timestamp of the record.
IOException
public void updateRecord(String idProperty,
String idValue,
String property,
String newValue)
throws IOException
updateRecord in interface HistoryWriteridProperty - name of the id propertyidValue - value of the id propertyproperty - the property to changenewValue - the value of the changed property.
IOException
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||