add Stream.append(String)
[org.ibex.io.git] / src / org / ibex / io / Stream.java
index 8bfa8bc..f18d2ba 100644 (file)
@@ -19,6 +19,7 @@ public class Stream {
     private         String newLine = "\r\n";
     private   Stream in_next = null;
 
+    public Stream append(String in_next) { return appendStream(new Stream(in_next)); }
     public Stream appendStream(Stream in_next) {
         if (this.in_next != null) return this.in_next.appendStream(in_next);
         this.in_next = in_next;