synchronized void addBuffer(String line) {
      if (buffer != null) {
        buffer.add(line);
      }
    }
Add line to internal buffer

@param line
    Line to add
imitate/src/main/java/com/engineer/imitate/shell/Shell.java