Lines Matching refs:inputStream
91 * @param inputStream
95 public static ReadableByteChannel newChannel(InputStream inputStream) {
96 return new InputStreamChannel(inputStream);
288 private final InputStream inputStream;
290 InputStreamChannel(InputStream inputStream) {
291 if (inputStream == null) {
292 throw new NullPointerException("inputStream == null");
294 this.inputStream = inputStream;
306 readCount = inputStream.read(bytes);
318 inputStream.close();