/*
* todesbaum-lib - Copyright (C) 2006 David Roden
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 59 Temple
* Place - Suite 330, Boston, MA 02111-1307, USA.
* so that clean-up code can be written with less code. All methods check that
* the given resource is not <code>null</code> before invoking the close()
* method of the respective type.
- *
+ *
* @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe&squo;
* Roden</a>
* @version $Id$
/**
* Closes the given result set.
- *
+ *
* @param resultSet
* The result set to close
* @see ResultSet#close()
/**
* Closes the given statement.
- *
+ *
* @param statement
* The statement to close
* @see Statement#close()
/**
* Closes the given connection.
- *
+ *
* @param connection
* The connection to close
* @see Connection#close()
/**
* Closes the given server socket.
- *
+ *
* @param serverSocket
* The server socket to close
* @see ServerSocket#close()
/**
* Closes the given socket.
- *
+ *
* @param socket
* The socket to close
* @see Socket#close()
/**
* Closes the given input stream.
- *
+ *
* @param inputStream
* The input stream to close
* @see InputStream#close()
/**
* Closes the given output stream.
- *
+ *
* @param outputStream
* The output stream to close
* @see OutputStream#close()
/**
* Closes the given reader.
- *
+ *
* @param reader
* The reader to close
* @see Reader#close()
/**
* Closes the given writer.
- *
+ *
* @param writer
* The write to close
* @see Writer#close()