/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field12B(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, ":", "/")); setComponent2(SwiftParseUtils.getTokenSecond(value, "/")); setComponent3(SwiftParseUtils.getTokenThirdLast(value, "/")); }
/** * Creates the field parsing the parameter value into fields' components * * @param value */ public Field92B(String value) { this(); setComponent1(SwiftParseUtils.getTokenFirst(value, ":", "//")); String toparse = SwiftParseUtils.getTokenSecondLast(value, "//"); setComponent2(SwiftParseUtils.getTokenFirst(toparse, "/")); setComponent3(SwiftParseUtils.getTokenSecond(toparse, "/")); setComponent4(SwiftParseUtils.getTokenThirdLast(toparse, "/")); }