コード例 #1
0
 /*
  * Closes this reader. This implementation closes the filtered reader.
  *
  * @throws IOException
  *             if an error occurs while closing this reader.
  */
 public override void close() //throws IOException
 {
     lock (lockJ)
     {
         inJ.close();
     }
 }
コード例 #2
0
 /*
  * Closes this reader. This implementation closes the buffered source reader
  * and releases the buffer. Nothing is done if this reader has already been
  * closed.
  *
  * @throws IOException
  *             if an error occurs while closing this reader.
  */
 public override void close() //throws IOException
 {
     lock (lockJ) {
         if (!isClosed())
         {
             inJ.close();
             buf = null;
         }
     }
 }