FileInputStream inherits from InputStream which has a mark() method which does nothing. FileInputStream itself doesn't define any mark() method. Even then, if I wrap a FileInputStream object inside a BufferedInputStream object and call markSupported() on it, it returns true. In the docs, it says that the mark() method of any FilterInputStream simply calls the mark() method of the underlying stream.
daudiam -6 Junior Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
daudiam -6 Junior Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
daudiam -6 Junior Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
daudiam -6 Junior Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
daudiam -6 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.