All About Class FilterInputStream in Java

FilterInputStream is the super class of all classes that filter input streams.These streams sit on top of an already existing input stream(the underlying input stream) but provides additional functionalities

The class structure of the class FilterInputStream is given below:

public class extends{
//member element
protected InputStream in;
//This input stream is under consideration
public FilterInputStream(InputStream in);
//creates an object of the FilterInputStream on top of the input stream specified.
public int available();
public int read();
public int read(byte b[]);
public int read(byte b[],int offSet,int length);
public void close();
public void mark(int readLimit);
public boolean markSupported();
public void reset();
public long skip(long l);
In addition,all methods may throw an IOException if an IO error occurs apart from their regular Exceptions.
All About Class FilterInputStream in Java All About Class FilterInputStream in Java Reviewed by Animesh Chatterjee on October 10, 2018 Rating: 5

No comments:

Powered by Blogger.