MCPcopy Create free account
hub / github.com/ZsBT/mrz-java / rawValue

Method rawValue

src/main/java/com/innovatrics/mrz/MrzParser.java:93–99  ·  view source on GitHub ↗

Returns a raw MRZ value from given range. If multiple ranges are specified, the value is concatenated. @param range the ranges, not null. @return raw value, never null, may be empty.

(MrzRange... range)

Source from the content-addressed store, hash-verified

91 * @return raw value, never null, may be empty.
92 */
93 public String rawValue(MrzRange... range) {
94 final StringBuilder sb = new StringBuilder();
95 for (MrzRange r : range) {
96 sb.append(rows[r.row].substring(r.column, r.columnTo));
97 }
98 return sb.toString();
99 }
100
101 /**
102 * Checks that given range contains valid characters.

Callers 8

parseNameMethod · 0.95
checkValidCharactersMethod · 0.95
parseStringMethod · 0.95
checkDigitMethod · 0.95
parseDateMethod · 0.95
fromMrzMethod · 0.95
fromMrzMethod · 0.95
fromMrzMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected