Class ReadResult


  • public class ReadResult
    extends Object
    Text extracted from a page in the input document.
    • Constructor Detail

      • ReadResult

        public ReadResult()
    • Method Detail

      • page

        public int page()
        Get the page value.
        Returns:
        the page value
      • withPage

        public ReadResult withPage​(int page)
        Set the page value.
        Parameters:
        page - the page value to set
        Returns:
        the ReadResult object itself.
      • language

        public String language()
        Get the language value.
        Returns:
        the language value
      • withLanguage

        public ReadResult withLanguage​(String language)
        Set the language value.
        Parameters:
        language - the language value to set
        Returns:
        the ReadResult object itself.
      • angle

        public double angle()
        Get the angle value.
        Returns:
        the angle value
      • withAngle

        public ReadResult withAngle​(double angle)
        Set the angle value.
        Parameters:
        angle - the angle value to set
        Returns:
        the ReadResult object itself.
      • width

        public double width()
        Get the width value.
        Returns:
        the width value
      • withWidth

        public ReadResult withWidth​(double width)
        Set the width value.
        Parameters:
        width - the width value to set
        Returns:
        the ReadResult object itself.
      • height

        public double height()
        Get the height value.
        Returns:
        the height value
      • withHeight

        public ReadResult withHeight​(double height)
        Set the height value.
        Parameters:
        height - the height value to set
        Returns:
        the ReadResult object itself.
      • lines

        public List<Line> lines()
        Get the lines value.
        Returns:
        the lines value
      • withLines

        public ReadResult withLines​(List<Line> lines)
        Set the lines value.
        Parameters:
        lines - the lines value to set
        Returns:
        the ReadResult object itself.