Package io.scanbot.sdk.barcode
Class RangeEncoding
- java.lang.Object
-
- io.scanbot.sdk.barcode.RangeEncoding
-
public class RangeEncoding extends java.lang.ObjectA 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharacterEncodinggetEncoding()Getter for encoding field.intgetEnd()Getter for end field.intgetStart()Getter for start field.
-
-
-
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
-
-