markSupported() mark() reset() Java

Rereading from the Same Position The same contents of a file can be again and again read by marking the position with the methods of StringBufferInputStream, inherited from its super class InputStream. A file can be reread (reading again) from a particular location. Here, the file position is marked; execution control is taken back to …

markSupported() mark() reset() Java Read More »