public class NutsCommandHistoryImpl extends Object implements net.thevpc.nuts.NutsCommandHistory
| Constructor and Description |
|---|
NutsCommandHistoryImpl(net.thevpc.nuts.NutsWorkspace ws,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Instant time,
String line) |
net.thevpc.nuts.NutsCommandHistoryEntry |
getEntry(int index) |
ListIterator<net.thevpc.nuts.NutsCommandHistoryEntry> |
iterator(int index) |
void |
load() |
void |
load(InputStream in) |
void |
purge() |
void |
save() |
void |
save(OutputStream outs) |
int |
size() |
public NutsCommandHistoryImpl(net.thevpc.nuts.NutsWorkspace ws,
Path path)
public int size()
size in interface net.thevpc.nuts.NutsCommandHistorypublic void load()
load in interface net.thevpc.nuts.NutsCommandHistorypublic void load(InputStream in)
load in interface net.thevpc.nuts.NutsCommandHistorypublic void save(OutputStream outs)
save in interface net.thevpc.nuts.NutsCommandHistorypublic void save()
save in interface net.thevpc.nuts.NutsCommandHistorypublic void purge()
purge in interface net.thevpc.nuts.NutsCommandHistorypublic net.thevpc.nuts.NutsCommandHistoryEntry getEntry(int index)
getEntry in interface net.thevpc.nuts.NutsCommandHistorypublic ListIterator<net.thevpc.nuts.NutsCommandHistoryEntry> iterator(int index)
iterator in interface net.thevpc.nuts.NutsCommandHistoryCopyright © 2021 vpc open source initiative. All rights reserved.