com.sun.imageio.stream
public Class StreamCloser
extends Object
- Class Inheritance
-
- Imports
- sun.awt.util.ThreadGroupUtils, java.io.IOException, java.util.Set, .WeakHashMap, javax.imageio.stream.ImageInputStream
This class provide means to properly close hanging
image input/output streams on VM shutdown.
This might be useful for proper cleanup such as removal
of temporary files.
Addition of stream do not prevent it from being garbage collected
if no other references to it exists. Stream can be closed
explicitly without removal from StreamCloser queue.
Explicit removal from the queue only helps to save some memory.
Nested and Inner Type Summary
| Modifier and Type | Class and Description
|
|---|
| public static class |
|
Constructor Summary
| Access | Constructor and Description
|
|---|
| public |
|
com.sun.imageio.stream
back to summary
public final Class StreamCloser.CloseAction
extends Object
- Class Inheritance
-
Constructor Summary
| Access | Constructor and Description
|
|---|
| private |
|