/** * */ package journal.action; import journal.reader.DeleteJournalEntry; import journal.reader.DataJournalEntry; import journal.reader.NoteJournalEntry; import journal.reader.TransactionJournalEntry; public class PrintAction extends BaseAction { @Override public void commitMarker(TransactionJournalEntry entry) { out.println(entry); } @Override public void deleteValue(DataJournalEntry entry) { out.println(entry); } @Override public void flushMarker(TransactionJournalEntry entry) { out.println(entry); } @Override public void putValue(DataJournalEntry entry) { out.println(entry); } @Override public void replaceValue(DataJournalEntry entry) { out.println(entry); } @Override public void verifyValue(DataJournalEntry entry) { out.println(entry); } @Override public void journalMarker(NoteJournalEntry entry) { out.println(entry); } @Override public void deleteMarker(DeleteJournalEntry entry) { out.println(entry); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 8296 | Sven Erik Knop |
Clean-up: instead of casting in every action, cast only once in the dispatcher. Should make code saner and safer. No functional change. |
||
#3 | 8200 | Sven Erik Knop |
JournalReader can now process delete records (@dl@). Also fixed processing of type 12 note records = journaldbchecksum |
||
#2 | 7876 | Sven Erik Knop | Added new Journal type for JournalNotes and modified printers to deal with its values. | ||
#1 | 7590 | Sven Erik Knop | Another missing file | ||
//guest/sven_erik_knop/JournalReader/src/journal/action/PrintAction.java | |||||
#2 | 7375 | Sven Erik Knop |
Major update of the JournalReader. Complete rewrite of the command line parsing Change in the options parsing within the journal reader New SQLLoader action. Currently only against MySQL (needs MySQL JDBC driver) with fixed database and user name. This will be replaced by a config file at some stage. |
||
#1 | 7374 | Sven Erik Knop | Rename/move file(s) - correct location for Eclipse project | ||
//guest/sven_erik_knop/JournalReader/journal/action/PrintAction.java | |||||
#2 | 7170 | Sven Erik Knop | Added the license to p4bucket and checked in a few random files for JournalReader | ||
#1 | 6467 | Sven Erik Knop |
Added JournalReader, a Java library of useful tools to read and process checkpoints and journals. Added are a readme.txt to explain some details, and a jar file that contains the compiled class files. The programs will need Java 1.6 to run. |