java.io.Closeable
, java.lang.AutoCloseable
, EmbosserProperties
, EmbosserWriter
, EmbosserWriterProperties
public class BufferedVolumeEmbosser extends AbstractEmbosserWriter
ConfigurableEmbosser
,
except that it supports writing each volume separately to a PrinterDevice rather than
to an OutputStream.Modifier and Type | Class | Description |
---|---|---|
static class |
BufferedVolumeEmbosser.Builder |
Provides a builder for a BufferedVolumeEmbosser
|
AbstractEmbosserWriter.Padding
EmbosserProperties.PrintMode
pagebreaks
Modifier and Type | Method | 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 |
newVolumeSectionAndPage(boolean duplex) |
Starts a new page on a blank sheet of paper in a new volume
with the specified duplex settings.
|
void |
open(boolean duplex) |
Opens for writing using the default contract
|
currentPage, getMaxHeight, getMaxWidth, getPagebreakStyle, getRowGap, init, isClosed, isOpen, lineFeed, newLine, newPage, newSectionAndPage, open, pageIsEmpty, setRowGap, supports8dot, supportsAligning, supportsDuplex, supportsPrintMode, supportsVolumes, supportsZFolding, write
public void open(boolean duplex) throws java.io.IOException
EmbosserWriter
open
in interface EmbosserWriter
open
in class AbstractEmbosserWriter
java.io.IOException
- if an I/O exception of some sort has occurredpublic BrailleConverter getTable()
AbstractEmbosserWriter
getTable
in class AbstractEmbosserWriter
public LineBreaks getLinebreakStyle()
AbstractEmbosserWriter
getLinebreakStyle
in class AbstractEmbosserWriter
public AbstractEmbosserWriter.Padding getPaddingStyle()
AbstractEmbosserWriter
getPaddingStyle
in class AbstractEmbosserWriter
protected void add(byte b)
AbstractEmbosserWriter
add
in class AbstractEmbosserWriter
b
- the byte to addprotected void addAll(byte[] bytes)
AbstractEmbosserWriter
addAll
in class AbstractEmbosserWriter
bytes
- the bytes to addprotected void formFeed() throws java.io.IOException
AbstractEmbosserWriter
formFeed
in class AbstractEmbosserWriter
java.io.IOException
- if IO failspublic void newVolumeSectionAndPage(boolean duplex) throws java.io.IOException
EmbosserWriter
newVolumeSectionAndPage
in interface EmbosserWriter
newVolumeSectionAndPage
in class AbstractEmbosserWriter
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
close
in class AbstractEmbosserWriter
java.io.IOException