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) |
net.thevpc.nuts.io.NPath |
getPath() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
ListIterator<net.thevpc.nuts.cmdline.NCmdLineHistoryEntry> |
iterator(int index) |
void |
load() |
void |
load(InputStream in) |
void |
purge() |
void |
save() |
void |
save(OutputStream outs) |
net.thevpc.nuts.cmdline.NCmdLineHistory |
setPath(File path) |
net.thevpc.nuts.cmdline.NCmdLineHistory |
setPath(net.thevpc.nuts.io.NPath path) |
net.thevpc.nuts.cmdline.NCmdLineHistory |
setPath(Path path) |
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 setPath(Path path)
setPath in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.cmdline.NCmdLineHistory setPath(File path)
setPath in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.cmdline.NCmdLineHistory setPath(net.thevpc.nuts.io.NPath path)
setPath in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic net.thevpc.nuts.io.NPath getPath()
getPath 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.NCmdLineHistorypublic void add(Instant time, String line)
add in interface net.thevpc.nuts.cmdline.NCmdLineHistorypublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentCopyright © 2025 vpc open source initiative. All rights reserved.