Interface Input


public interface Input
Represents the input buffer to the shell.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Input
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the input as entered by the user.
    default List<String>
    Return the input as a list of parsed "words", having split the raw input according to parsing rules (for example, handling quoted portions of the readInput as a single "word")
  • Field Details

    • EMPTY

      static final Input EMPTY
  • Method Details

    • rawText

      String rawText()
      Return the input as entered by the user.
    • words

      default List<String> words()
      Return the input as a list of parsed "words", having split the raw input according to parsing rules (for example, handling quoted portions of the readInput as a single "word")