code: public static void process(InputStream inputStream, StreamHandler handler) throws IOException {
      LOGGER.trace("process(InputStream, StreamHandler)");
      process(inputStream, handler, new byte[BUFFER_SIZE]);
    }
docs: generic processing of a stream
  
  @param inputStream
  the input stream to process
  @param handler
  the handler to apply on the stream
  @throws IOException