@Override public String getCharset() throws CoreException { return state.getCharset(); } };
@Override public String getCharset() throws CoreException { return state.getCharset(); } };
@Override public String getCharset() throws CoreException { return state.getCharset(); } };
public String getCharset() throws CoreException { return state.getCharset(); } };
public String getCharset() { String charset= null; try { charset= fFileState.getCharset(); } catch (CoreException e) { // fall through } if (charset == null) charset= Utilities.getCharset(fFile); return charset; } public String getName() {
@Override public String getCharset() { String charset= null; try { charset= fFileState.getCharset(); } catch (CoreException e) { // fall through } if (charset == null) charset= Utilities.getCharset(fFile); return charset; } @Override
@Override public String getCharset() throws CoreException { String charset= fFileState.getCharset(); if (charset == null) { IResource resource= getResource(); if (resource instanceof IEncodedStorage) charset= ((IEncodedStorage)resource).getCharset(); } return charset; }
public String getCharset() throws CoreException { String charset= fFileState.getCharset(); if (charset == null) { IResource resource= getResource(); if (resource instanceof IEncodedStorage) charset= ((IEncodedStorage)resource).getCharset(); } return charset; }