private void close(){
  try {
    in.close();
  }
 catch (  Exception e) {
  }
  try {
    out.close();
  }
 catch (  Exception e) {
  }
}

private void close ( ) { try { in . close ( ) ; } catch ( Exception e ) { } try { out . close ( ) ; } catch ( Exception e ) { } }
it closes all the streams .
