java.lang.Object
com.aoapps.encoding.WriterUtil
Helpers for implementing
Whitespace.- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe number of characters written per block.static final StringText.NBSPcharacters.static final StringWhitespace.NLcombined withWhitespace.SPACEcharacters.static final StringWhitespace.SPACEcharacters. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidWrites any number ofText.NBSPthrough the given encoder.static voidWrites any number ofText.NBSP.static voidWrites aWhitespace.NLfollowed by any number ofWhitespace.SPACEthrough the given encoder.static voidWrites aWhitespace.NLfollowed by any number ofWhitespace.SPACE.static voidWrites any number ofWhitespace.SPACEthrough the given encoder.static voidWrites 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.NLcombined withWhitespace.SPACEcharacters. -
SPACE_CHARS
Whitespace.SPACEcharacters. -
NBSP_CHARS
Text.NBSPcharacters.
-
-
Method Details
-
nlsp
Writes aWhitespace.NLfollowed by any number ofWhitespace.SPACE.- Throws:
IOException- See Also:
-
nlsp
Writes aWhitespace.NLfollowed by any number ofWhitespace.SPACEthrough the given encoder.- Throws:
IOException- See Also:
-
sp
Writes any number ofWhitespace.SPACE.- Throws:
IOException- See Also:
-
sp
Writes any number ofWhitespace.SPACEthrough the given encoder.- Throws:
IOException- See Also:
-
nbsp
Writes any number ofText.NBSP.- Throws:
IOException- See Also:
-
nbsp
Writes any number ofText.NBSPthrough the given encoder.- Throws:
IOException- See Also:
-
