Changeset 12334


Ignore:
Timestamp:
01/05/10 14:31:50 (12 years ago)
Author:
astalla
Message:

Added convenience constructors to Stream.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Stream.java

    r12330 r12334  
    123123  }
    124124
     125    public Stream(InputStream stream) {
     126  initAsBinaryInputStream(stream);
     127    }
     128
    125129    public Stream(Reader r) {
    126130  initAsCharacterInputStream(r);
     131    }
     132
     133    public Stream(OutputStream stream) {
     134  initAsBinaryOutputStream(stream);
    127135    }
    128136
Note: See TracChangeset for help on using the changeset viewer.