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