Java tutorial
import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.InputStream; public class Main { public static void main(String[] args) throws Exception { InputStream is = new FileInputStream("C:/test.txt"); // input stream is converted to buffered input stream BufferedInputStream bis = new BufferedInputStream(is, 200); } }