You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
682 B
47 lines
682 B
/*
|
|
* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package java.io;
|
|
|
|
import java.io.IOException;
|
|
|
|
/**
|
|
* A <tt>Flushable</tt> is a destination of data that can be flushed. The
|
|
* flush method is invoked to write any buffered output to the underlying
|
|
* stream.
|
|
*
|
|
* @since 1.5
|
|
*/
|
|
public interface Flushable {
|
|
|
|
/**
|
|
* Flushes this stream by writing any buffered output to the underlying
|
|
* stream.
|
|
*
|
|
* @throws IOException If an I/O error occurs
|
|
*/
|
|
void flush() throws IOException;
|
|
}
|