Class RangeEncoding


  • public class RangeEncoding
    extends java.lang.Object
    A character encoding for a given range of bytes.
    • Constructor Summary

      Constructors 
      Constructor Description
      RangeEncoding​(int start, int end, CharacterEncoding encoding)
      Constructs RangeEncoding with the given params.
    • Constructor Detail

      • RangeEncoding

        public RangeEncoding​(int start,
                             int end,
                             CharacterEncoding encoding)
        Constructs RangeEncoding with the given params.
        Parameters:
        start - Start index of the range.
        end - End index of the range (inclusive).
        encoding - Character encoding for the given range.
    • Method Detail

      • getStart

        public int getStart()
        Getter for start field. See constructor documentation for more information about the field.
        Returns:
        start
      • getEnd

        public int getEnd()
        Getter for end field. See constructor documentation for more information about the field.
        Returns:
        end
      • getEncoding

        public CharacterEncoding getEncoding()
        Getter for encoding field. See constructor documentation for more information about the field.
        Returns:
        encoding