handler.putDatum(nodeKey, String.valueOf(encodingChars.getFieldSeparator())); encodingChars.setComponentSeparator(segment.charAt(4)); encodingChars.setRepetitionSeparator(segment.charAt(5)); encodingChars.setEscapeCharacter(segment.charAt(6)); encodingChars.setSubcomponentSeparator(segment.charAt(7));
handler.putDatum(nodeKey, String.valueOf(encodingChars.getFieldSeparator())); encodingChars.setComponentSeparator(segment.charAt(4)); encodingChars.setRepetitionSeparator(segment.charAt(5)); encodingChars.setEscapeCharacter(segment.charAt(6)); encodingChars.setSubcomponentSeparator(segment.charAt(7));
setRepetitionSeparator('~'); setEscapeCharacter('\\'); setSubcomponentSeparator('&');
setRepetitionSeparator('~'); setEscapeCharacter('\\'); setSubcomponentSeparator('&');
/** copies contents of "other" */ public EncodingCharacters(EncodingCharacters other) { this.fieldSep = other.getFieldSeparator(); this.encChars = new char[5]; setComponentSeparator(other.getComponentSeparator()); setRepetitionSeparator(other.getRepetitionSeparator()); setEscapeCharacter(other.getEscapeCharacter()); setSubcomponentSeparator(other.getSubcomponentSeparator()); setTruncationCharacter(other.getTruncationCharacter()); }
/** copies contents of "other" */ public EncodingCharacters(EncodingCharacters other) { this.fieldSep = other.getFieldSeparator(); this.encChars = new char[5]; setComponentSeparator(other.getComponentSeparator()); setRepetitionSeparator(other.getRepetitionSeparator()); setEscapeCharacter(other.getEscapeCharacter()); setSubcomponentSeparator(other.getSubcomponentSeparator()); setTruncationCharacter(other.getTruncationCharacter()); }