2037 lines · 82.1 KB · Java
RawDownload
    // State management     /**     * Restores the <code>ImageWriter</code> to its initial state.     *     * <p> The default implementation calls     * <code>setOutput(null)</code>, <code>setLocale(null)</code>,     * <code>removeAllIIOWriteWarningListeners()</code>,     * <code>removeAllIIOWriteProgressListeners()</code>, and     * <code>clearAbortRequest</code>.     */    public void reset() {        setOutput(null);        setLocale(null);        removeAllIIOWriteWarningListeners();        removeAllIIOWriteProgressListeners();        clearAbortRequest();    }     /**     * Allows any resources held by this object to be released.  The     * result of calling any other method (other than     * <code>finalize</code>) subsequent to a call to this method     * is undefined.     *     * <p>It is important for applications to call this method when they     * know they will no longer be using this <code>ImageWriter</code>.     * Otherwise, the writer may continue to hold on to resources     * indefinitely.     *     * <p>The default implementation of this method in the superclass does     * nothing.  Subclass implementations should ensure that all resources,     * especially native resources, are released.     */    public void dispose() {    }}

Lines 2001–2037 of 2037. Previous lines