else if( filemode.equals("w") ) { _fileValue = FileModule.fopen(env, filename, mode, useIncludePath, null); _path = env.getPwd().lookup(filename); _gout = new GZIPFileValueWriter( compressionLevel, compressionStrategy, (FileValue)_fileValue );
else if (filemode.equals("w")) { _gzout = new GZIPOutputStream(_fileValue.getPath().openWrite(), compressionLevel, compressionStrategy); } else if (filemode.equals("a")) { _gzout = new GZIPOutputStream(_fileValue.getPath().openAppend(), compressionLevel, compressionStrategy); } else if (filemode.equals("x")) { _gzout = new GZIPOutputStream(_fileValue.getPath().openWrite(), compressionLevel, compressionStrategy);
  public Zlib(Env env,              String filename,              String mode,              boolean useIncludePath)  {    String filemode = getFileMode( mode );    int compressionLevel = getCompressionLevel( mode );    int compressionStrategy = getCompressionStrategy( mode );    try {      if( filemode.equals("r") )      {        _fileValue = FileModule.fopen(env, filename, mode, useIncludePath, null);        _path = env.getPwd().lookup(filename);        getBufferedReader();      }      else if( filemode.equals("w") )      {        _fileValue = FileModule.fopen(env, filename, mode, useIncludePath, null);        _path = env.getPwd().lookup(filename);        _gout = new GZIPFileValueWriter( compressionLevel, compressionStrategy, (FileValue)_fileValue );      }    }    catch (IOException e) {      log.log(Level.FINE, e.getMessage(), e);      env.warning(L.l(e.getMessage()));    }  }