nodeKey.add(new Integer(0)); handler.putDatum(nodeKey, String.valueOf(encodingChars.getFieldSeparator())); encodingChars.setComponentSeparator(segment.charAt(4)); encodingChars.setRepetitionSeparator(segment.charAt(5)); encodingChars.setEscapeCharacter(segment.charAt(6));
nodeKey.add(new Integer(0)); handler.putDatum(nodeKey, String.valueOf(encodingChars.getFieldSeparator())); encodingChars.setComponentSeparator(segment.charAt(4)); encodingChars.setRepetitionSeparator(segment.charAt(5)); encodingChars.setEscapeCharacter(segment.charAt(6));
setComponentSeparator('^'); setRepetitionSeparator('~'); setEscapeCharacter('\\');
setComponentSeparator('^'); setRepetitionSeparator('~'); setEscapeCharacter('\\');
/** 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()); }