public FTPCommunicationChannel(Socket connection,String charsetName) throws IOException {
  this.connection=connection;
  this.charsetName=charsetName;
  InputStream inStream=connection.getInputStream();
  OutputStream outStream=connection.getOutputStream();
  reader=new NVTASCIIReader(inStream,charsetName);
  writer=new NVTASCIIWriter(outStream,charsetName);
}

public FTPCommunicationChannel ( Socket connection , String charsetName ) throws IOException { this . connection = connection ; this . charsetName = charsetName ; InputStream inStream = connection . getInputStream ( ) ; OutputStream outStream = connection . getOutputStream ( ) ; reader = new NVTASCIIReader ( inStream , charsetName ) ; writer = new NVTASCIIWriter ( outStream , charsetName ) ; }
it builds a ftp communication channel .
