Class PDF417HighLevelEncoder.NoECIInput
java.lang.Object
com.google.zxing.pdf417.encoder.PDF417HighLevelEncoder.NoECIInput
- All Implemented Interfaces:
ECIInput
- Enclosing class:
PDF417HighLevelEncoder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) Returns thebytevalue at the specified index.intgetECIValue(int index) Returns theintECI value at the specified index.booleanhaveNCharacters(int index, int n) booleanisECI(int index) Determines if a value is an ECIintlength()Returns the length of this input.subSequence(int start, int end) Returns aCharSequencethat is a subsequence of this sequence.toString()
-
Field Details
-
input
String input
-
-
Constructor Details
-
NoECIInput
-
-
Method Details
-
length
-
charAt
public char charAt(int index) Description copied from interface:ECIInputReturns thebytevalue at the specified index. An index ranges from zero tolength() - 1. The firstbytevalue of the sequence is at index zero, the next at index one, and so on, as for array indexing. -
isECI
-
getECIValue
public int getECIValue(int index) Description copied from interface:ECIInputReturns theintECI value at the specified index. An index ranges from zero tolength() - 1. The firstbytevalue of the sequence is at index zero, the next at index one, and so on, as for array indexing.- Specified by:
getECIValuein interfaceECIInput- Parameters:
index- the index of theintvalue to be returned- Returns:
- the specified
intECI value. The ECI specified the encoding of all bytes with a higher index until the next ECI or until the end of the input if no other ECI follows.
-
haveNCharacters
public boolean haveNCharacters(int index, int n) - Specified by:
haveNCharactersin interfaceECIInput
-
subSequence
Description copied from interface:ECIInputReturns aCharSequencethat is a subsequence of this sequence. The subsequence starts with thecharvalue at the specified index and ends with thecharvalue at indexend - 1. The length (inchars) of the returned sequence isend - start, so ifstart == endthen an empty sequence is returned.- Specified by:
subSequencein interfaceECIInput- Parameters:
start- the start index, inclusiveend- the end index, exclusive- Returns:
- the specified subsequence
-
toString
-