Selasa, 24 April 2012

JAVA printwriter increase buffer size from 8192 bytes

I'm trying to create a file that maps every possible binary combination of some part of speech tags, and for some reason the java program I've written just stops after 8192 bytes. I assume that this is the maximum buffer size or something? How can I change that? My code: try { Scanner in = new Scanner(new FileInputStream(file.getPath())); PrintWriter out = new PrintWriter(

0 comments:

Posting Komentar