|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.melati.poem.transaction.ToTidyList
public class ToTidyList
List of objects which need closing when a Transaction is
terminated.
| Nested Class Summary | |
|---|---|
static interface |
ToTidyList.Closeable
Can be closed. |
| Constructor Summary | |
|---|---|
ToTidyList()
|
|
| Method Summary | |
|---|---|
void |
add(java.io.InputStream o)
Add an InputStream to the list. |
void |
add(java.io.OutputStream o)
Add an OutputStream to the list. |
void |
add(java.io.Reader o)
Add a Reader to the list. |
void |
add(java.sql.ResultSet o)
Add a ResultSet to the list. |
void |
add(java.sql.Statement o)
Add a Statement to the list. |
void |
add(ToTidyList.Closeable o)
Add any Closeable to the list. |
void |
add(java.io.Writer o)
Add a Writer to the list. |
void |
close()
Close all objects on list. |
java.util.Enumeration |
elements()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToTidyList()
| Method Detail |
|---|
public void close()
public void add(java.sql.ResultSet o)
o - the ResultSet to addpublic void add(java.sql.Statement o)
o - the Statement to addpublic void add(java.io.Reader o)
o - the Reader to addpublic void add(java.io.Writer o)
o - the Writer to addpublic void add(java.io.InputStream o)
o - the InputStream to addpublic void add(java.io.OutputStream o)
o - the OutputStream to addpublic void add(ToTidyList.Closeable o)
o - the Closeable to addpublic java.util.Enumeration elements()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||