/** * @return the encoding of the frame body this datatype belongs to */ protected Charset getTextEncodingCharSet() { final byte textEncoding = this.getBody().getTextEncoding(); final Charset charset = TextEncoding.getInstanceOf().getCharsetForId(textEncoding); logger.finest("text encoding:" + textEncoding + " charset:" + charset.name()); return charset; } }
/** * @return the encoding of the frame body this datatype belongs to */ protected String getTextEncodingCharSet() { byte textEncoding = this.getBody().getTextEncoding(); String charSetName = TextEncoding.getInstanceOf().getValueForId(textEncoding); logger.finest("text encoding:" + textEncoding + " charset:" + charSetName); return charSetName; } }
/** * @return the encoding of the frame body this datatype belongs to */ protected String getTextEncodingCharSet() { byte textEncoding = this.getBody().getTextEncoding(); String charSetName = TextEncoding.getInstanceOf().getValueForId(textEncoding); // logger.finest("text encoding:" + textEncoding + " charset:" + charSetName); return charSetName; } }