com.atlassian.jira.util
Interface Closeable

All Known Subinterfaces:
CloseableIterator

public interface Closeable

A Closeable is a source or destination of data that can be closed. The close method is invoked to release resources that the object is holding (such as open files).

Straight copy of the java.util interface in Java5 that should be replaced by the same when we go to Java5

Since:
v3.13

Method Summary
 void close()
          Closes this stream and releases any system resources associated with it.
 

Method Detail

close

void close()
           throws IOException
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.

Throws:
IOException - if an I/O error occurs


Copyright © 2002-2008 Atlassian. All Rights Reserved.