public class EightToSixDotMapper
extends java.lang.Object
Constructor | Description |
---|---|
EightToSixDotMapper(int width) |
Creates a new SixDotMapper with the specified line length
|
Modifier and Type | Method | Description |
---|---|---|
void |
flush() |
Flushes the last line of characters.
|
boolean |
hasMoreFullLines() |
|
boolean |
hasMoreLines() |
|
void |
newLine(int rowgap) |
Starts a new line
|
java.lang.String |
readLine() |
Reads a line from the output buffer.
|
void |
write(java.lang.String braille) |
Writes a string of braille.
|
public EightToSixDotMapper(int width)
width
- the length of the lines, in characterspublic void write(java.lang.String braille)
braille
- characters in the range 0x2800 to 0x28FFjava.lang.IllegalArgumentException
- if the number of characters exceeds the line widthpublic void newLine(int rowgap)
rowgap
- the row gap following the line currently in the bufferpublic void flush()
public boolean hasMoreFullLines()
public boolean hasMoreLines()
public java.lang.String readLine()