Метод | Описание | |
---|---|---|
BufferedStreamFeeder ( Stream ist ) : System | ||
BufferedStreamFeeder ( Stream ist, int bufsize ) : System | ||
close ( ) : void | ||
feed ( IBytesConsumer consumer ) : int |
Feeds bytes to the consumer Returns bytes actually consumed This should return 0 only if the stream is EOF or the consumer is done
|
|
feed ( IBytesConsumer consumer, int maxbytes ) : int | ||
feedFixed ( IBytesConsumer consumer, int nbytes ) : bool | ||
getStream ( ) : Stream |
Stream from which bytes are read
|
|
hasMoreToFeed ( ) : bool | ||
isEof ( ) : bool | ||
setCloseStream ( bool closeStream ) : void | ||
setFailIfNoFeed ( bool failIfNoFeed ) : void | ||
setInputStream ( Stream ist ) : void |
Метод | Описание | |
---|---|---|
refillBuffer ( ) : void |
public BufferedStreamFeeder ( Stream ist ) : System | ||
ist | Stream | |
Результат | System |
public BufferedStreamFeeder ( Stream ist, int bufsize ) : System | ||
ist | Stream | |
bufsize | int | |
Результат | System |
public feed ( IBytesConsumer consumer ) : int | ||
consumer | IBytesConsumer | |
Результат | int |
public feed ( IBytesConsumer consumer, int maxbytes ) : int | ||
consumer | IBytesConsumer | |
maxbytes | int | |
Результат | int |
public feedFixed ( IBytesConsumer consumer, int nbytes ) : bool | ||
consumer | IBytesConsumer | |
nbytes | int | |
Результат | bool |
public setCloseStream ( bool closeStream ) : void | ||
closeStream | bool | |
Результат | void |
public setFailIfNoFeed ( bool failIfNoFeed ) : void | ||
failIfNoFeed | bool | |
Результат | void |
public setInputStream ( Stream ist ) : void | ||
ist | Stream | |
Результат | void |