- java.lang.Object
-
- java.io.Writer
-
- java.io.OutputStreamWriter
-
- java.io.FileWriter
-
- cn.mcres.karlatemp.mxlib.util.WrappedFileWriter
-
- 所有已实现的接口:
Closeable,Flushable,Appendable,AutoCloseable
public class WrappedFileWriter extends FileWriter
-
-
构造器概要
构造器 构造器 说明 WrappedFileWriter(@NotNull Writer writer)
-
方法概要
修饰符和类型 方法 说明 Writerappend(char c)Writerappend(CharSequence csq)Writerappend(CharSequence csq, int start, int end)voidclose()voidflush()voidwrite(@org.jetbrains.annotations.NotNull char[] cbuf)voidwrite(@org.jetbrains.annotations.NotNull char[] cbuf, int off, int len)voidwrite(int c)voidwrite(@NotNull String str)voidwrite(@NotNull String str, int off, int len)-
从类继承的方法 java.io.OutputStreamWriter
getEncoding
-
从类继承的方法 java.io.Writer
nullWriter
-
-
-
-
构造器详细资料
-
WrappedFileWriter
public WrappedFileWriter(@NotNull @NotNull Writer writer)
-
-
方法详细资料
-
append
public Writer append(CharSequence csq, int start, int end) throws IOException
- 指定者:
append在接口中Appendable- 覆盖:
append在类中OutputStreamWriter- 抛出:
IOException
-
flush
public void flush() throws IOException- 指定者:
flush在接口中Flushable- 覆盖:
flush在类中OutputStreamWriter- 抛出:
IOException
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中OutputStreamWriter- 抛出:
IOException
-
append
public Writer append(CharSequence csq) throws IOException
- 指定者:
append在接口中Appendable- 覆盖:
append在类中OutputStreamWriter- 抛出:
IOException
-
append
public Writer append(char c) throws IOException
- 指定者:
append在接口中Appendable- 覆盖:
append在类中Writer- 抛出:
IOException
-
write
public void write(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf, int off, int len) throws IOException- 覆盖:
write在类中OutputStreamWriter- 抛出:
IOException
-
write
public void write(@NotNull @NotNull String str, int off, int len) throws IOException- 覆盖:
write在类中OutputStreamWriter- 抛出:
IOException
-
write
public void write(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf) throws IOException- 覆盖:
write在类中Writer- 抛出:
IOException
-
write
public void write(@NotNull @NotNull String str) throws IOException- 覆盖:
write在类中Writer- 抛出:
IOException
-
write
public void write(int c) throws IOException- 覆盖:
write在类中OutputStreamWriter- 抛出:
IOException
-
-