Class BrailloVolumeWriter

  • All Implemented Interfaces:
    VolumeWriter

    public abstract class BrailloVolumeWriter
    extends Object
    implements VolumeWriter
    Provides a volume writer for Braillo embossers. Note that, this volume writer assumes LineBreaks.Type.DOS and Padding.BEFORE.
    • Field Detail

      • FF_SEQ

        public static final byte[] FF_SEQ
    • Constructor Detail

      • BrailloVolumeWriter

        public BrailloVolumeWriter()
    • Method Detail

      • write

        public boolean write​(List<? extends List<Byte>> input,
                             File out)
                      throws IOException
        Description copied from interface: VolumeWriter
        Writes the pages in this volume to a file.
        Specified by:
        write in interface VolumeWriter
        Parameters:
        input - the pages to write
        out - the file to write to
        Returns:
        returns true if writing was successful, false otherwise
        Throws:
        IOException - if an I/O error occurs
      • supportsVolumes

        public boolean supportsVolumes()