php    php100   android
当前位置:首页 » java.io包 »

Java.io.FilterOutputStream类

评论  编辑

The java.util.FilterOutputStream class is the superclass of all classes that filter output streams.Following are the important points about FilterOutputStream:

  • The class itself simply overrides all methods of OutputStream with versions that pass all requests to the contained output stream.

  • The Subclasses of this class may further override some of these methods and may also provide additional methods and fields.

类声明

以下是声明java.util.FilterOutputStream class:

public class FilterOutputStream
   extends OutputStream

字段域

Following are the fields for java.util.FilterOutputStream class:

  • protected OutputStream out -- This is the output stream to be filtered.

类构造方法

S.N.构造方法 & 详细描述
1FilterOutputStream(OutputStream out)
This creates an output stream filter built on top of the specified underlying output stream.

类方法

S.N.方法 & 描述
1 void close()
This method closes this output stream and releases any system resources associated with the stream.
2 void flush()
This method flushes this output stream and forces any buffered output bytes to be written out to the stream.
3 void write(byte[] b)
This method writes b.length bytes to this output stream.
4 void write(byte[] b, int off, int len)
This method writes len bytes from the specified byte array starting at offset off to this output stream.
5 void write(int b)
This method writes the specified byte to this output stream.

方法继承

此类从以下类继承了上面列出的方法

  • java.util.Object


贡献/合作者

正在开放中...
 

评论(条)

  • 还没有评论!