示例#1
0
 /** Close the underlying Channels. */
 @Override
 public void close() throws IOException {
   try {
     if (shpChannel != null && shpChannel.isOpen()) {
       shpChannel.close();
     }
   } finally {
     shx.close();
   }
   shpChannel = null;
   handler = null;
   shapeBuffer = null;
 }