public class NCmdLineHistoryImpl extends Object implements NCmdLineHistory
| Constructor and Description |
|---|
NCmdLineHistoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Instant time,
String line) |
NCmdLineHistoryEntry |
getEntry(int index) |
NPath |
getPath() |
ListIterator<NCmdLineHistoryEntry> |
iterator(int index) |
void |
load() |
void |
load(InputStream in) |
void |
purge() |
void |
save() |
void |
save(OutputStream outs) |
NCmdLineHistory |
setPath(File path) |
NCmdLineHistory |
setPath(NPath path) |
NCmdLineHistory |
setPath(Path path) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic void load()
load in interface NCmdLineHistorypublic void save()
save in interface NCmdLineHistorypublic void load(InputStream in)
load in interface NCmdLineHistorypublic void save(OutputStream outs)
save in interface NCmdLineHistorypublic NCmdLineHistory setPath(Path path)
setPath in interface NCmdLineHistorypublic NCmdLineHistory setPath(File path)
setPath in interface NCmdLineHistorypublic NCmdLineHistory setPath(NPath path)
setPath in interface NCmdLineHistorypublic NPath getPath()
getPath in interface NCmdLineHistorypublic int size()
size in interface NCmdLineHistorypublic void purge()
purge in interface NCmdLineHistorypublic NCmdLineHistoryEntry getEntry(int index)
getEntry in interface NCmdLineHistorypublic ListIterator<NCmdLineHistoryEntry> iterator(int index)
iterator in interface NCmdLineHistorypublic void add(Instant time, String line)
add in interface NCmdLineHistoryCopyright © 2026 vpc open source initiative. All rights reserved.