(class)
public abstract shared Stream-of
Parameterized root of the stream hierarchy.
Notes
accessor public Stream-of.non-blocking-supported?:
bool
| open?: | Indicate if this Stream is currently open, should return false once Stream-of.close has been called. |
accessor public abstract Stream-of.open?:
bool
| origin-url: | Returns the Url that this stream was opened from, or null, if no such Url exists. |
accessor public abstract Stream-of.origin-url:#
Url
| close: | Close Stream, should make stream un-usable and make sure that Stream-of.open? return false once this has been called. |
|
public abstract
| {Stream-of.close}:void |
|
public final inline
| {Stream-of.verify-open}:void |
(accessor)
accessor public Stream-of.non-blocking-supported?:
bool
(accessor)
accessor public abstract Stream-of.open?:
bool Indicate if this Stream is currently open, should return false once Stream-of.close has been called.
Notes
Overriding
Subclasses must provide this.
(accessor)
accessor public abstract Stream-of.origin-url:#
Url Returns the Url that this stream was opened from, or null, if no such Url exists.
Example
{read-open {url "file://c:/foo.txt"}}.origin-url
would return the
Url file://c:/foo.txt (assuming such a file exists).
On the other hand,
{{TextInputStream-from String} "foo"}.origin-url would return
null.
(method)
| public abstract
| {Stream-of.close}:void |
Close Stream, should make stream un-usable and make sure that Stream-of.open? return false once this has been called.
(method)
| public final inline
| {Stream-of.verify-open}:void |