Пример #1
0
  /*
  * Closes the input stream.
  *
  * @throws IOException
  *             If an error occurs closing the input stream.
  */
 public override void close() {//throws IOException {
     if (!closed) {
         inf.end();
         closed = true;
         eof = true;
         base.close();
     }
 }
Пример #2
0
 /*
  * Writes remaining data into the output stream and closes the underling
  * output stream data.
  */
 public override void close()  //throws IOException {
 {
     if (!closed)
     {
         finish();
         inf.end();
         outJ.close();
         closed = true;
     }
 }