/** * Note: once this instance is created, trace info still needs to be * appended by caller, depending on the context its created. */ private void createEncodingMemento(String detectedCharsetName) { fEncodingMemento = new EncodingMemento(); fEncodingMemento.setJavaCharsetName(getAppropriateJavaCharset(detectedCharsetName)); fEncodingMemento.setDetectedCharsetName(detectedCharsetName); // TODO: if detectedCharset and spec default is // null, need to use "work // bench based" defaults. fEncodingMemento.setAppropriateDefault(getSpecDefaultEncoding()); }
/** * Note: once this instance is created, trace info still needs to be * appended by caller, depending on the context its created. */ private void createEncodingMemento(String detectedCharsetName) { fEncodingMemento = new EncodingMemento(); fEncodingMemento.setJavaCharsetName(getAppropriateJavaCharset(detectedCharsetName)); fEncodingMemento.setDetectedCharsetName(detectedCharsetName); // TODO: if detectedCharset and spec default is // null, need to use "work // bench based" defaults. fEncodingMemento.setAppropriateDefault(getSpecDefaultEncoding()); }
/** * Note: once this instance is created, trace info still needs to be * appended by caller, depending on the context its created. */ private void createEncodingMemento(String detectedCharsetName) { fEncodingMemento = new EncodingMemento(); fEncodingMemento.setJavaCharsetName(getAppropriateJavaCharset(detectedCharsetName)); fEncodingMemento.setDetectedCharsetName(detectedCharsetName); // TODO: if detectedCharset and spec default is // null, need to use "work // bench based" defaults. fEncodingMemento.setAppropriateDefault(getSpecDefaultEncoding()); }
/** * Note: once this instance is created, trace info still needs to be * appended by caller, depending on the context its created. */ private void createEncodingMemento(String detectedCharsetName) { fEncodingMemento = new EncodingMemento(); fEncodingMemento.setJavaCharsetName(getAppropriateJavaCharset(detectedCharsetName)); fEncodingMemento.setDetectedCharsetName(detectedCharsetName); // TODO: if detectedCharset and spec default is // null, need to use "work // bench based" defaults. fEncodingMemento.setAppropriateDefault(getSpecDefaultEncoding()); }