encodingChars.setComponentSeparator(segment.charAt(4)); encodingChars.setRepetitionSeparator(segment.charAt(5)); encodingChars.setEscapeCharacter(segment.charAt(6)); encodingChars.setSubcomponentSeparator(segment.charAt(7)); nodeKey.set(0, new Integer(1));
encodingChars.setComponentSeparator(segment.charAt(4)); encodingChars.setRepetitionSeparator(segment.charAt(5)); encodingChars.setEscapeCharacter(segment.charAt(6)); encodingChars.setSubcomponentSeparator(segment.charAt(7)); nodeKey.set(0, new Integer(1));
setComponentSeparator('^'); setRepetitionSeparator('~'); setEscapeCharacter('\\'); setSubcomponentSeparator('&'); setTruncationCharacter('#');
setComponentSeparator('^'); setRepetitionSeparator('~'); setEscapeCharacter('\\'); setSubcomponentSeparator('&'); setTruncationCharacter('#');
/** 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()); }