|
Samond Classes Library 1.1.6-RELEASE build 132
|
Standard input (stdin) stream class. More...
#import <SCStandardInputStream.h>
Public Member Functions | |
Seeking Stream | |
| (BOOL) | - eof |
Reading Strings | |
| (NSString *) | - readStringWithEncoding:max: |
| (NSString *) | - readStringWithEncoding: |
| (NSString *) | - readStringWithMax: |
| (NSString *) | - readString |
Creating and Initializing Stream | |
| (SCStandardInputStream *) | + stdinStream |
| (SCStandardInputStream *) | + stdinStreamWithDelegate: |
| (id) | - init |
| (id) | - initWithDelegate: |
Standard input (stdin) stream class.
Class is a concrete subclass of SCStream with support of input from the stdin.
Class was introduced in version 1.1.3.
| - (BOOL) eof |
Determines end of stream flag.
Reimplemented from SCStream.
| - (id) init |
| - (id) initWithDelegate: | (id<SCStreamDelegate>) | delegate |
Initializes the stdin stream using the specified delegate object.
| delegate | - delegate object |
| - (NSString *) readString |
Returns the string readed by using the UTF-8 encoding.
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Reimplemented from SCStream.
| - (NSString *) readStringWithEncoding: | (NSStringEncoding) | encoding |
Returns the string readed by using the specified encoding.
| encoding | - string encoding |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Reimplemented from SCStream.
| - (NSString *) readStringWithEncoding: | (NSStringEncoding) | encoding | |
| max: | (SCUInteger) | max | |
Returns the string with the specified max length and readed by using the specified encoding.
| encoding | - string encoding |
| max | - max length |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Reimplemented from SCStream.
| - (NSString *) readStringWithMax: | (SCUInteger) | max |
Returns the string with the specified max length and readed by using the UTF-8 encoding.
| max | - max length |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Reimplemented from SCStream.
| + (SCStandardInputStream *) stdinStream |
Returns the stdin stream.
| + (SCStandardInputStream *) stdinStreamWithDelegate: | (id<SCStreamDelegate>) | delegate |
Returns the stdin stream opening by using the specified delegate object.
| delegate | - delegate object |
1.7.3