setEscapeCharacter('\\'); setSubcomponentSeparator('&'); setTruncationCharacter('#'); } else { encodingCharacters.getChars(0, 4, this.encChars, 0); char extraChar = encodingCharacters.charAt(4); if (extraChar != fieldSeparator) { setTruncationCharacter(extraChar);
setEscapeCharacter('\\'); setSubcomponentSeparator('&'); setTruncationCharacter('#'); } else { encodingCharacters.getChars(0, 4, this.encChars, 0); char extraChar = encodingCharacters.charAt(4); if (extraChar != fieldSeparator) { setTruncationCharacter(extraChar);
/** 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()); }