Top Description Fields Constructors Methods
com.sun.imageio.stream

public Class CloseableDisposerRecord

extends Object
implements DisposerRecord
Class Inheritance
All Implemented Interfaces
sun.java2d.DisposerRecord
Imports
java.io.Closeable, .IOException, sun.java2d.DisposerRecord

Convenience class that closes a given resource (e.g. RandomAccessFile), typically associated with an Image{Input,Output}Stream, prior to the stream being garbage collected.

Field Summary

Modifier and TypeField and Description
private Closeable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

closeableback to summary
private Closeable closeable

Constructor Detail

CloseableDisposerRecordback to summary
public CloseableDisposerRecord(Closeable closeable)

Method Detail

disposeback to summary
public synchronized void dispose()

Implements sun.java2d.DisposerRecord.dispose.