List of usage examples for java.io StringReader markSupported
public boolean markSupported()
From source file:Main.java
public static void main(String[] argv) throws IOException { StringReader stringReader = new StringReader("java2s.com"); stringReader.mark(2);/*from w ww. j a v a 2s. co m*/ System.out.println(stringReader.markSupported()); System.out.println(stringReader.read()); stringReader.reset(); stringReader.close(); }