public class ConfigurableEmbosser extends AbstractEmbosserWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurableEmbosser.Builder
Provides a builder for ConfigurableEmbosser
|
AbstractEmbosserWriter.PaddingEmbosserProperties.PrintModepagebreaks| Modifier and Type | Method and Description |
|---|---|
protected void |
add(byte b)
Adds a byte to the EmbosserWriter output.
|
protected void |
addAll(byte[] bytes)
Adds bytes to the EmbosserWriter output.
|
void |
close() |
protected void |
formFeed()
Performs a form feed on the EmbosserWriter
|
LineBreaks |
getLinebreakStyle()
Gets the line break style for the EmbosserWriter
|
AbstractEmbosserWriter.Padding |
getPaddingStyle()
Gets the form feed padding style for the EmbosserWriter
|
BrailleConverter |
getTable()
Gets the table for the EmbosserWriter
|
void |
open(boolean duplex)
Opens for writing using the default contract
|
currentPage, getMaxHeight, getMaxWidth, getPagebreakStyle, getRowGap, init, isClosed, isOpen, lineFeed, newLine, newPage, newSectionAndPage, newVolumeSectionAndPage, open, pageIsEmpty, setRowGap, supports8dot, supportsAligning, supportsDuplex, supportsPrintMode, supportsVolumes, supportsZFolding, writeprotected void formFeed()
throws java.io.IOException
AbstractEmbosserWriterformFeed in class AbstractEmbosserWriterjava.io.IOException - if IO failsprotected void add(byte b)
throws java.io.IOException
AbstractEmbosserWriteradd in class AbstractEmbosserWriterb - the byte to addjava.io.IOException - if IO fails.protected void addAll(byte[] bytes)
throws java.io.IOException
AbstractEmbosserWriteraddAll in class AbstractEmbosserWriterbytes - the bytes to addjava.io.IOException - if IO failspublic BrailleConverter getTable()
AbstractEmbosserWritergetTable in class AbstractEmbosserWriterpublic LineBreaks getLinebreakStyle()
AbstractEmbosserWritergetLinebreakStyle in class AbstractEmbosserWriterpublic AbstractEmbosserWriter.Padding getPaddingStyle()
AbstractEmbosserWritergetPaddingStyle in class AbstractEmbosserWriterpublic void open(boolean duplex)
throws java.io.IOException
EmbosserWriteropen in interface EmbosserWriteropen in class AbstractEmbosserWriterjava.io.IOException - if an I/O exception of some sort has occurredpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class AbstractEmbosserWriterjava.io.IOException