protected static interface AbstractBrailleTranslator.util.DefaultLineBreaker.BrailleStream extends Cloneable
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
hasNext() |
boolean |
hasPrecedingSpace()
Whether the already streamed text, or the preceding segment if we are at the
beginning of the stream, ended with a space.
|
String |
next(int limit,
boolean force,
boolean allowHyphens) |
Character |
peek() |
String |
remainder() |
boolean hasNext()
String next(int limit, boolean force, boolean allowHyphens)
limit
- The available space left on the current line. The returned string
does not have to fit in this space, but normally does in case of
"explicit" line breaking. If the returned string is longer, it will
be broken.Character peek()
String remainder()
Object clone()
boolean hasPrecedingSpace()
next(int, boolean, boolean)
method has been called,
hasPrecedingSpace
may throw a UnsupportedOperationException
.Copyright © 2010–2024 The DAISY Consortium. All rights reserved.