| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private PushbackInputStream | |
| private GZIPInputStream | |
| private IOInputStream | |
| private int | |
| private static final int | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private void | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject | |
| private long | Returns: number of bytesGet position within this stream including that has been read by users calling read + what jzlib may have speculatively read in because of buffering. |
| private IRubyObject | |
| private IRubyObject | |
| private boolean | |
| public IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | |
| public static JZlibRubyGzipReader | |
| public static JZlibRubyGzipReader | |
| private ByteList | |
| private ByteList | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private RubyString | |
| private RubyString | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private IRubyObject | |
| private ByteList | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| private void | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public static IRubyObject | zcat(ThreadContext context, IRubyObject klass, IRubyObject[] args, Block block)
Document-method: Zlib::GzipReader.zcat call-seq: Zlib::GzipReader.zcat(io, options = {}, &block) => nil Zlib::GzipReader.zcat(io, options = {}) => string Decompresses all gzip data in the +io+, handling multiple gzip streams until the end of the +io+. |
| BUFF_SIZE | back to summary |
|---|---|
| private static final int BUFF_SIZE | |
| bufferedStream | back to summary |
|---|---|
| private PushbackInputStream bufferedStream | |
| io | back to summary |
|---|---|
| private GZIPInputStream io | |
| ioInputStream | back to summary |
|---|---|
| private IOInputStream ioInputStream | |
| line | back to summary |
|---|---|
| private int line | |
| NEWLINE | back to summary |
|---|---|
| private static final int NEWLINE | |
| position | back to summary |
|---|---|
| private long position | |
| JZlibRubyGzipReader | back to summary |
|---|---|
| public JZlibRubyGzipReader(Ruby runtime, RubyClass type) | |
| close | back to summary |
|---|---|
| public IRubyObject close(ThreadContext context) Overrides org.
| |
| comment | back to summary |
|---|---|
| public IRubyObject comment(ThreadContext context) Overrides org.
| |
| crc | back to summary |
|---|---|
| public IRubyObject crc(ThreadContext context) Overrides org.
| |
| each | back to summary |
|---|---|
public IRubyObject each(ThreadContext context, IRubyObject[] args, Block block)
| |
| each_byte | back to summary |
|---|---|
public IRubyObject each_byte(ThreadContext context, Block block)
| |
| each_char | back to summary |
|---|---|
public IRubyObject each_char(ThreadContext context, Block block)
| |
| each_line | back to summary |
|---|---|
public IRubyObject each_line(ThreadContext context, IRubyObject[] args, Block block)
| |
| eof | back to summary |
|---|---|
| public IRubyObject eof()
Deprecated since 10.0.
| |
| eof | back to summary |
|---|---|
public IRubyObject eof(ThreadContext context)
| |
| eof_p | back to summary |
|---|---|
| public IRubyObject eof_p()
Deprecated since 10.0.
| |
| eof_p | back to summary |
|---|---|
public IRubyObject eof_p(ThreadContext context)
| |
| fixBrokenTrailingCharacter | back to summary |
|---|---|
| private void fixBrokenTrailingCharacter(ThreadContext context, ByteList result) throws IOException | |
| getbyte | back to summary |
|---|---|
public IRubyObject getbyte(ThreadContext context)
| |
| getbyte | back to summary |
|---|---|
| public IRubyObject getbyte()
Deprecated
| |
| getc | back to summary |
|---|---|
| public IRubyObject getc()
Deprecated
| |
| getc | back to summary |
|---|---|
public IRubyObject getc(ThreadContext context)
| |
| gets | back to summary |
|---|---|
public IRubyObject gets(ThreadContext context, IRubyObject[] args)
| |
| initialize | back to summary |
|---|---|
| public IRubyObject initialize(ThreadContext context, IRubyObject stream) | |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject[] args)
| |
| internalGets | back to summary |
|---|---|
| private IRubyObject internalGets(ThreadContext context, IRubyObject[] args) throws IOException | |
| internalPosition | back to summary |
|---|---|
| private long internalPosition() Get position within this stream including that has been read by users calling read + what jzlib may have speculatively read in because of buffering.
| |
| internalSepGets | back to summary |
|---|---|
| private IRubyObject internalSepGets(ThreadContext context, ByteList sep) throws IOException | |
| internalSepGets | back to summary |
|---|---|
| private IRubyObject internalSepGets(ThreadContext context, ByteList sep, int limit) throws IOException | |
| isEof | back to summary |
|---|---|
| private boolean isEof() throws IOException | |
| lineno | back to summary |
|---|---|
public IRubyObject lineno(ThreadContext context)
| |
| lineno | back to summary |
|---|---|
| public IRubyObject lineno()
Deprecated
| |
| newInstance | back to summary |
|---|---|
public static IRubyObject newInstance(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
| |
| newInstance | back to summary |
|---|---|
| public static JZlibRubyGzipReader newInstance(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.
| |
| newInstance | back to summary |
|---|---|
| public static JZlibRubyGzipReader newInstance(ThreadContext context, RubyClass klass, IRubyObject[] args) | |
| newReadByteList | back to summary |
|---|---|
| private ByteList newReadByteList() | |
| newReadByteList | back to summary |
|---|---|
| private ByteList newReadByteList(int size) | |
| open | back to summary |
|---|---|
public static IRubyObject open(final ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
| |
| orig_name | back to summary |
|---|---|
| public IRubyObject orig_name(ThreadContext context) Overrides org.
| |
| os_code | back to summary |
|---|---|
| public IRubyObject os_code(ThreadContext context) Overrides org.
| |
| pos | back to summary |
|---|---|
| public IRubyObject pos()
Deprecated since 10.0.
| |
| pos | back to summary |
|---|---|
public IRubyObject pos(ThreadContext context)
| |
| read | back to summary |
|---|---|
public IRubyObject read(ThreadContext context, IRubyObject[] args)
| |
| readAll | back to summary |
|---|---|
| private RubyString readAll(ThreadContext context) throws IOException | |
| readAll | back to summary |
|---|---|
| private RubyString readAll(ThreadContext context, int limit) throws IOException | |
| readbyte | back to summary |
|---|---|
| public IRubyObject readbyte()
Deprecated
| |
| readbyte | back to summary |
|---|---|
public IRubyObject readbyte(ThreadContext context)
| |
| readchar | back to summary |
|---|---|
| public IRubyObject readchar()
Deprecated
| |
| readchar | back to summary |
|---|---|
public IRubyObject readchar(ThreadContext context)
| |
| readline | back to summary |
|---|---|
public IRubyObject readline(ThreadContext context)
| |
| readlines | back to summary |
|---|---|
public IRubyObject readlines(ThreadContext context, IRubyObject[] args)
| |
| readpartial | back to summary |
|---|---|
| public IRubyObject readpartial(IRubyObject[] args)
Deprecated
| |
| readpartial | back to summary |
|---|---|
public IRubyObject readpartial(ThreadContext context, IRubyObject[] args)
| |
| readPartial | back to summary |
|---|---|
| private IRubyObject readPartial(ThreadContext context, int len, RubyString outbuf) throws IOException | |
| readSize | back to summary |
|---|---|
| private ByteList readSize(int length) throws IOException | |
| rewind | back to summary |
|---|---|
public IRubyObject rewind(ThreadContext context)
| |
| set_lineno | back to summary |
|---|---|
| public IRubyObject set_lineno(IRubyObject lineArg)
Deprecated since 10.0.
| |
| set_lineno | back to summary |
|---|---|
public IRubyObject set_lineno(ThreadContext context, IRubyObject lineArg)
| |
| skipNewlines | back to summary |
|---|---|
| private void skipNewlines() throws IOException | |
| ungetbyte | back to summary |
|---|---|
| public IRubyObject ungetbyte(IRubyObject b)
Deprecated since 10.0.
| |
| ungetbyte | back to summary |
|---|---|
public IRubyObject ungetbyte(ThreadContext context, IRubyObject b)
| |
| ungetc | back to summary |
|---|---|
public IRubyObject ungetc(ThreadContext context, IRubyObject cArg)
| |
| unused | back to summary |
|---|---|
| public IRubyObject unused()
Deprecated since 10.0.
| |
| unused | back to summary |
|---|---|
public IRubyObject unused(ThreadContext context)
| |
| zcat | back to summary |
|---|---|
| public static IRubyObject zcat(ThreadContext context, IRubyObject klass, IRubyObject[] args, Block block) Document-method: Zlib::GzipReader.zcat call-seq: Zlib::GzipReader.zcat(io, options = {}, &block) => nil Zlib::GzipReader.zcat(io, options = {}) => string Decompresses all gzip data in the +io+, handling multiple gzip streams until the end of the +io+. There should not be any non-gzip data after the gzip streams. If a block is given, it is yielded strings of uncompressed data, and the method returns +nil+. If a block is not given, the method returns the concatenation of all uncompressed data in all gzip streams.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Error | back to summary |
|---|---|
| public Error() | |