try { if (_bufferedReader == null) { getBufferedReader();
if (_isGZIPInputStream) return ((GZIPInputStream)_in).isEOS(); else { try { _in.mark(1); int ch = _in.read(); _in.reset(); return (ch == -1); } catch (IOException e) { throw new QuercusModuleException(e);
  public boolean gzeof()  {    try {      if (_bufferedReader == null) {	getBufferedReader();      }      _bufferedReader.mark(1);      int result = _bufferedReader.read();      _bufferedReader.reset();      return (result == -1);    } catch (IOException e) {      throw new QuercusModuleException(e);    }  }