Interface NshHistory

All Known Implementing Classes:
AbstractNshHistory, DefaultNshHistory, NoHistory

public interface NshHistory
  • Method Details

    • getHistoryFile

      NPath getHistoryFile()
    • setHistoryFile

      NshHistory setHistoryFile(NPath historyFile)
    • add

      void add(String e)
    • removeDuplicates

      void removeDuplicates()
    • getElements

      List<String> getElements()
    • getElements

      List<String> getElements(int maxElements)
    • size

      int size()
    • clear

      void clear()
    • remove

      void remove(int index)
    • load

      void load()
    • load

      void load(NPath reader)
    • load

      void load(Reader reader)
    • save

      void save()
    • save

      void save(NPath writer)
    • save

      void save(PrintWriter writer)
    • save

      void save(PrintStream writer)
    • append

      void append(NshHistory other)
    • isEmpty

      boolean isEmpty()
    • get

      String get(int index)
    • getLast

      String getLast()