- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FileOutputStream
-
- cn.mcres.karlatemp.mxlib.util.WrappedFileOutputStream
-
- 所有已实现的接口:
Closeable
,Flushable
,AutoCloseable
public class WrappedFileOutputStream extends FileOutputStream
-
-
构造器概要
构造器 构造器 说明 WrappedFileOutputStream(@NotNull OutputStream out)
-
方法概要
修饰符和类型 方法 说明 void
close()
void
flush()
FileChannel
getChannel()
void
write(@org.jetbrains.annotations.NotNull byte[] b)
void
write(@org.jetbrains.annotations.NotNull byte[] b, int off, int len)
void
write(int b)
-
从类继承的方法 java.io.FileOutputStream
getFD
-
从类继承的方法 java.io.OutputStream
nullOutputStream
-
-
-
-
构造器详细资料
-
WrappedFileOutputStream
public WrappedFileOutputStream(@NotNull @NotNull OutputStream out)
-
-
方法详细资料
-
flush
public void flush() throws IOException
- 指定者:
flush
在接口中Flushable
- 覆盖:
flush
在类中OutputStream
- 抛出:
IOException
-
write
public void write(@NotNull @org.jetbrains.annotations.NotNull byte[] b, int off, int len) throws IOException
- 覆盖:
write
在类中FileOutputStream
- 抛出:
IOException
-
write
public void write(@NotNull @org.jetbrains.annotations.NotNull byte[] b) throws IOException
- 覆盖:
write
在类中FileOutputStream
- 抛出:
IOException
-
write
public void write(int b) throws IOException
- 覆盖:
write
在类中FileOutputStream
- 抛出:
IOException
-
getChannel
public FileChannel getChannel()
- 覆盖:
getChannel
在类中FileOutputStream
-
close
public void close() throws IOException
- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中Closeable
- 覆盖:
close
在类中FileOutputStream
- 抛出:
IOException
-
-