public EncodedWriter(Writer out,Encoder encoder){
  super(out);
  if (encoder == null) {
    throw new NullPointerException("encoder must not be null");
  }
  _out=out;
  _encoder=encoder;
}

public EncodedWriter ( Writer out , Encoder encoder ) { super ( out ) ; if ( encoder == null ) { throw new NullPointerException ( "encoder must not be null" ) ; } _out = out ; _encoder = encoder ; }
creates an encodedwriter that uses the specified encoder to encode all input before sending it to the wrapped writer .
