All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.internet2.middleware.grouperInstallerExt.org.tukaani.xz.FinishableOutputStream Maven / Gradle / Ivy

There is a newer version: 5.12.2
Show newest version
/*
 * FinishableOutputStream
 *
 * Author: Lasse Collin 
 *
 * This file has been put into the public domain.
 * You can do whatever you want with this file.
 */

package edu.internet2.middleware.grouperInstallerExt.org.tukaani.xz;

import java.io.OutputStream;
import java.io.IOException;

/**
 * Output stream that supports finishing without closing
 * the underlying stream.
 */
public abstract class FinishableOutputStream extends OutputStream {
    /**
     * Finish the stream without closing the underlying stream.
     * No more data may be written to the stream after finishing.
     * 

* The finish method of FinishableOutputStream * does nothing. Subclasses should override it if they need finishing * support, which is the case, for example, with compressors. * * @throws IOException */ public void finish() throws IOException {}; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy