org.apache.commons.fileupload.util
Interface Closeable


public interface Closeable

Interface of an object, which may be closed.

Version:
$Id: Closeable.java 1454691 2013-03-09 12:15:54Z simonetripodi $

Method Summary
 void close()
          Closes the object.
 boolean isClosed()
          Returns, whether the object is already closed.
 

Method Detail

close

void close()
           throws java.io.IOException
Closes the object.

Throws:
java.io.IOException - An I/O error occurred.

isClosed

boolean isClosed()
                 throws java.io.IOException
Returns, whether the object is already closed.

Returns:
True, if the object is closed, otherwise false.
Throws:
java.io.IOException - An I/O error occurred.


Copyright © 2002-2013. All Rights Reserved.