public abstract class AbstractHistoryFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.text.DateFormat |
DAY_NAME_FORMAT |
protected java.util.List<HistoryEntry> |
entries |
protected static java.text.SimpleDateFormat |
MONTH_NAME_FORMAT |
protected static java.text.MessageFormat |
SIZE_FORMAT |
protected static int |
SIZE_MULTIPLICATOR |
Constructor and Description |
---|
AbstractHistoryFile() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.List<HistoryEntry> |
createEntries() |
java.lang.String |
getFormatSize() |
java.util.Collection<HistoryEntry> |
getHistoryEntries() |
protected abstract long |
getSize() |
java.util.List<HistoryEntry> |
search(java.lang.String occurrence) |
protected java.util.List<HistoryEntry> |
toList(java.util.Map<java.util.Date,HistoryEntry> months) |
protected static final int SIZE_MULTIPLICATOR
protected static final java.text.MessageFormat SIZE_FORMAT
protected static final java.text.DateFormat DAY_NAME_FORMAT
protected static final java.text.SimpleDateFormat MONTH_NAME_FORMAT
protected java.util.List<HistoryEntry> entries
protected abstract long getSize()
protected abstract java.util.List<HistoryEntry> createEntries()
public java.lang.String getFormatSize()
public java.util.Collection<HistoryEntry> getHistoryEntries()
public java.util.List<HistoryEntry> search(java.lang.String occurrence)
protected java.util.List<HistoryEntry> toList(java.util.Map<java.util.Date,HistoryEntry> months)