Class LineDataInfoProducer

    • Field Detail

      • LOG

        private static final org.apache.commons.logging.Log LOG
        Static logging instance
    • Constructor Detail

      • LineDataInfoProducer

        public LineDataInfoProducer​(AFPLineDataInfo lineDataInfo)
        Main constructor.
        Parameters:
        lineDataInfo - the info object
    • Method Detail

      • produce

        public void produce​(PtocaBuilder builder)
                     throws java.io.IOException
        Produces the PTOCA control sequences by calling methods on PtocaBuilder.
        Specified by:
        produce in interface PtocaProducer
        Parameters:
        builder - the builder object
        Throws:
        java.io.IOException - if an I/O error occurs
      • ensurePositive

        private static int ensurePositive​(int value)