Searched refs:maxLength (Results 1 – 1 of 1) sorted by relevance
264 private String readStream(InputStream stream, int maxLength) throws IOException { in readStream() argument269 char[] buffer = new char[maxLength]; in readStream()273 while (numChars < maxLength && readSize != -1) { in readStream()275 int pct = (100 * numChars) / maxLength; in readStream()283 numChars = Math.min(numChars, maxLength); in readStream()