Class GlyphTextEventListener

    • Constructor Detail

      • GlyphTextEventListener

        public GlyphTextEventListener​(ITextExtractionStrategy delegate)
        Constructs a GlyphEventListener instance by a ITextExtractionStrategy delegate to which the expanded text events for each glyph occurred will be passed on.
        Parameters:
        delegate - delegate to pass the expanded glyph render events to.
    • Method Detail

      • getResultantText

        public java.lang.String getResultantText()
        As an resultant text we use the the resultant text of the delegate that implement ITextExtractionStrategy and was passed to this class.
        Specified by:
        getResultantText in interface ITextExtractionStrategy
        Returns:
        the resulting text extracted from the delegate