InputStream: Superclass of all classes representing an input stream of...

Description Usage Fields and Methods Author(s)

Description

Package: R.io
Class InputStream

Object
~~|
~~+--InputStream

Directly known subclasses:
ConnectionInputStream, FileInputStream, FilterInputStream, LineNumberInputStream

public abstract static class InputStream
extends Object

This abstract class is the superclass of all classes representing an input stream of bytes.

Applications that need to define a subclass of InputStream must always provide a method that returns the next byte of input.

Usage

1

Fields and Methods

Methods:

available Gets the number of bytes currently available in input buffer.
close Closes the input stream.
finalize Finalizes the stream by closing it.
mark Marks the current position.
markSupported Checks if the input stream supports mark() and reset().
read Reads the next byte of data.
reset Replaces the current position to the last mark.
skip Skips the next n number of bytes.

Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFields, getInstanciationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, save

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)


HenrikBengtsson/R.io documentation built on May 6, 2019, 11:54 p.m.