List of usage examples for java.io FilterReader markSupported
public boolean markSupported()
From source file:Main.java
public static void main(String[] args) throws Exception { // create new reader Reader r = new StringReader("ABCDEF"); // create new filter reader FilterReader fr = new FilterReader(r) { };/* w ww . j a va2 s. com*/ // tests if the filter reader supports mark() boolean bool = fr.markSupported(); // prints System.out.print("If mark() supported? " + bool); }