scala.tools.nsc.interpreter.session

FileBackedHistory

trait FileBackedHistory extends JLineHistory with JPersistentHistory

TODO: file locking.

Source
FileBackedHistory.scala
Linear Supertypes
PersistentHistory, JLineHistory, History, History, Iterable[Entry], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. FileBackedHistory
  2. PersistentHistory
  3. JLineHistory
  4. History
  5. History
  6. Iterable
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def add (line: CharSequence): Unit

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  2. def asStrings : List[String]

    Attributes
    abstract
    Definition Classes
    History
  3. def clear (): Unit

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  4. def current (): CharSequence

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  5. def entries (): JListIterator[JEntry]

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  6. def entries (index: Int): JListIterator[JEntry]

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  7. def get (index: Int): CharSequence

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  8. def grep (s: String): List[String]

    Attributes
    abstract
    Definition Classes
    History
  9. def index : Int

    Attributes
    abstract
    Definition Classes
    JLineHistoryHistory → History
  10. def isEmpty (): Boolean

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  11. def iterator (): JIterator[JEntry]

    Attributes
    abstract
    Definition Classes
    JLineHistory → History → Iterable
  12. def maxSize : Int

    Attributes
    abstract
  13. def moveTo (index: Int): Boolean

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  14. def moveToEnd (): Unit

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  15. def moveToFirst (): Boolean

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  16. def moveToLast (): Boolean

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  17. def next (): Boolean

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  18. def previous (): Boolean

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  19. def replace (item: CharSequence): Unit

    Attributes
    abstract
    Definition Classes
    JLineHistory → History
  20. def size : Int

    Attributes
    abstract
    Definition Classes
    JLineHistoryHistory → History

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def addLineToFile (item: CharSequence): Unit

  7. def append (lines: String*): Unit

    Append one or more lines to the history file.

    Append one or more lines to the history file.

    Attributes
    protected
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def flush (): Unit

    Definition Classes
    FileBackedHistory → PersistentHistory
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  15. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  16. lazy val historyFile : File

    Attributes
    protected
  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. def load (): Unit

  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def purge (): Unit

    Definition Classes
    FileBackedHistory → PersistentHistory
  23. def sync (): Unit

    Overwrites the history file with the current memory.

    Overwrites the history file with the current memory.

    Attributes
    protected
  24. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  25. def toString (): String

    Definition Classes
    AnyRef → Any
  26. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def withoutSaving [T] (op: ⇒ T): T

Inherited from PersistentHistory

Inherited from JLineHistory

Inherited from History

Inherited from History

Inherited from Iterable[Entry]

Inherited from AnyRef

Inherited from Any