public class NCmdLineHistoryImpl extends Object implements net.thevpc.nuts.cmdline.NCmdLineHistory
| Constructor and Description |
|---|
NCmdLineHistoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Instant time,
String line) |
net.thevpc.nuts.cmdline.NCmdLineHistoryEntry |
getEntry(int index) |
ListIterator<net.thevpc.nuts.cmdline.NCmdLineHistoryEntry> |
iterator(int index) |
void |
load() |
void |
load(InputStream in) |
net.thevpc.nuts.io.NPath |
path() |
net.thevpc.nuts.cmdline.NCmdLineHistory |
path(File path) |
net.thevpc.nuts.cmdline.NCmdLineHistory |
path(net.thevpc.nuts.io.NPath path) |
net.thevpc.nuts.cmdline.NCmdLineHistory |
path(Path path) |
void |
purge() |
void |
save() |
void |
save(OutputStream outs) |
int |
size() |
public void load()
load in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic void save()
save in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic void load(InputStream in)
load in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic void save(OutputStream outs)
save in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.cmdline.NCmdLineHistory path(Path path)
path in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.cmdline.NCmdLineHistory path(File path)
path in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.cmdline.NCmdLineHistory path(net.thevpc.nuts.io.NPath path)
path in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.io.NPath path()
path in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic int size()
size in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic void purge()
purge in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.cmdline.NCmdLineHistoryEntry getEntry(int index)
getEntry in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic ListIterator<net.thevpc.nuts.cmdline.NCmdLineHistoryEntry> iterator(int index)
iterator in interface net.thevpc.nuts.cmdline.NCmdLineHistoryCopyright © 2026 vpc open source initiative. All rights reserved.