Here you can find the source of toBufferedReader(String s)
Parameter | Description |
---|---|
s | The string to be parsed. |
protected static BufferedReader toBufferedReader(String s)
//package com.java2s; //License from project: Open Source License import java.io.BufferedReader; import java.io.StringReader; public class Main { /**/* w ww . j a v a 2 s. c om*/ * Convert a String to a BufferedReader. * @param s The string to be parsed. * @return a BufferedReader which delivers the characters. */ protected static BufferedReader toBufferedReader(String s) { return new BufferedReader(new StringReader(s)); } }