Changeset 12558
- Timestamp:
- 03/17/10 19:14:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/Stream.java
r12513 r12558 123 123 124 124 public Stream(Symbol structureClass, InputStream stream) { 125 super(structureClass);125 this(structureClass); 126 126 initAsBinaryInputStream(stream); 127 127 } 128 128 129 129 public Stream(Symbol structureClass, Reader r) { 130 super(structureClass);130 this(structureClass); 131 131 initAsCharacterInputStream(r); 132 132 } 133 133 134 134 public Stream(Symbol structureClass, OutputStream stream) { 135 super(structureClass);135 this(structureClass); 136 136 initAsBinaryOutputStream(stream); 137 137 } 138 138 139 139 public Stream(Symbol structureClass, Writer w) { 140 super(structureClass);140 this(structureClass); 141 141 initAsCharacterOutputStream(w); 142 142 } … … 150 150 public Stream(Symbol structureClass, InputStream inputStream, 151 151 LispObject elementType, LispObject format) { 152 super(structureClass);152 this(structureClass); 153 153 this.elementType = elementType; 154 154 setExternalFormat(format); … … 179 179 // Output stream constructors. 180 180 public Stream(Symbol structureClass, OutputStream outputStream, LispObject elementType, LispObject format) { 181 super(structureClass);181 this(structureClass); 182 182 this.elementType = elementType; 183 183 setExternalFormat(format); … … 2558 2558 } 2559 2559 }; 2560 2561 public InputStream getInputStream() { 2562 return in; 2563 } 2564 2565 public OutputStream getOutputStream() { 2566 return out; 2567 } 2568 2569 public Writer getWriter() { 2570 return writer; 2571 } 2572 2573 public PushbackReader getReader() { 2574 return reader; 2575 } 2576 2560 2577 }
Note: See TracChangeset
for help on using the changeset viewer.