Class StreamCommandProcessor

  • All Implemented Interfaces:
    CommandProcessor, Component, HasSchedule

    public class StreamCommandProcessor
    extends BaseCommandProcessor
    original author unknown

    in this release made the process a thread so it can be shared with other command processors like the SocketCommandProcessor created innerclass CommandTokenizer so it could handle quotes and spaces within quotes

    Author:
    joseph mcverry
    • Constructor Detail

      • StreamCommandProcessor

        public StreamCommandProcessor()
    • Method Detail

      • getReader

        public java.io.BufferedReader getReader()
      • getWriter

        public java.io.BufferedWriter getWriter()
      • readLine

        public java.lang.String readLine()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(java.lang.String text)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • writeLine

        public void writeLine​(java.lang.String line)
                       throws java.io.IOException
        Throws:
        java.io.IOException