public abstract class Format extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Format.Ansi |
static class |
Format.PreHtml |
static class |
Format.Text |
| 限定符和类型 | 字段和说明 |
|---|---|
static Format.Ansi |
ANSI
.
|
static Format.PreHtml |
PRE_HTML
.
|
static Format.Text |
TEXT
.
|
| 构造器和说明 |
|---|
Format() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
begin(Appendable to) |
abstract void |
cls(Appendable to) |
abstract void |
end(Appendable to) |
abstract void |
write(CharSequence s,
Appendable to) |
abstract void |
write(Style style,
Appendable to) |
public static final Format.Text TEXT
public static final Format.Ansi ANSI
public static final Format.PreHtml PRE_HTML
public abstract void begin(Appendable to) throws IOException
IOExceptionpublic abstract void write(CharSequence s, Appendable to) throws IOException
IOExceptionpublic abstract void write(Style style, Appendable to) throws IOException
IOExceptionpublic abstract void cls(Appendable to) throws IOException
IOExceptionpublic abstract void end(Appendable to) throws IOException
IOExceptionCopyright © 2018. All rights reserved.