java.lang.Object
com.aoapps.encoding.WriterUtil
Helpers for implementing
Whitespace
.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The number of characters written per block.static final String
Text.NBSP
characters.static final String
Whitespace.NL
combined withWhitespace.SPACE
characters.static final String
Whitespace.SPACE
characters. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Writes any number ofText.NBSP
through the given encoder.static void
Writes any number ofText.NBSP
.static void
Writes aWhitespace.NL
followed by any number ofWhitespace.SPACE
through the given encoder.static void
Writes aWhitespace.NL
followed by any number ofWhitespace.SPACE
.static void
Writes any number ofWhitespace.SPACE
through the given encoder.static void
Writes any number ofWhitespace.SPACE
.
-
Field Details
-
BLOCK_SIZE
public static final int BLOCK_SIZEThe number of characters written per block.- See Also:
-
NL_SPACE_CHARS
Whitespace.NL
combined withWhitespace.SPACE
characters. -
SPACE_CHARS
Whitespace.SPACE
characters. -
NBSP_CHARS
Text.NBSP
characters.
-
-
Method Details
-
nlsp
Writes aWhitespace.NL
followed by any number ofWhitespace.SPACE
.- Throws:
IOException
- See Also:
-
nlsp
Writes aWhitespace.NL
followed by any number ofWhitespace.SPACE
through the given encoder.- Throws:
IOException
- See Also:
-
sp
Writes any number ofWhitespace.SPACE
.- Throws:
IOException
- See Also:
-
sp
Writes any number ofWhitespace.SPACE
through the given encoder.- Throws:
IOException
- See Also:
-
nbsp
Writes any number ofText.NBSP
.- Throws:
IOException
- See Also:
-
nbsp
Writes any number ofText.NBSP
through the given encoder.- Throws:
IOException
- See Also:
-