FilterInputStream cannot be instantiated as it is an abstract class. It can only be subclasses. The following are types of FilterInputStream's - DataInputStream BufferedInputStream LineNumberInputStream PushbackInputStream
Joined: Mar 13, 2001
It is not an abstract class...but yes its constructor is protected.
i tried looking at the api and noticed that its methods are very similar if not exactly the same with InputStream's methods... does anyone here know why they had to subclass InputStream with FilterInputStream without providing any new functionalities? please correct me if im wrong... thanks!
HI Paul, FilterInputStream and InputStream have major functionality differences. They might have the same method signatures but the method guts are completely different for at least 80% of the code! Regards, Manfred.