Package java.io
Class PushbackInputStream

Public Method markSupported

boolean markSupported()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method tests if this input stream supports the mark and reset methods, which it does not.

Example

   File file = new File("testFile");
   InputStream in = new FileInputStream(file);
   PushbackInputStream pis = new PushbackInputStream(in, 20);
   if (pis.markSupported())
      Logger.log("This stream supports the mark method");

The example above checks if the input stream supports the mark method.