Class CenterAlignmentProcessor

    • Constructor Detail

      • CenterAlignmentProcessor

        public CenterAlignmentProcessor()
    • Method Detail

      • handleElement

        protected int handleElement​(int start,
                                    int count)
        Description copied from class: AbstractAlignmentProcessor
        Handle the next input chunk.
        Specified by:
        handleElement in class AbstractAlignmentProcessor
        Parameters:
        start - the start index
        count - the number of elements in the sequence
        Returns:
        the processing position. Linebreaks will be inserted, if the returned value is equal or less the start index.