Charset encoding = impl.getEncoding(file); if (encoding != null) { LOG.log(Level.FINE, "{0}: received encoding {1} from {2}", new Object[] {file, encoding, impl});
@Override @CheckForNull public Charset getEncoding(@NonNull final FileObject file) { final Project p = getNonConvertorOwner(file); return p != null ? p.getLookup().lookup(FileEncodingQueryImplementation.class).getEncoding(file) : null; } }
values.put("license", license); // NOI18N Charset charset = encodingQuery.getEncoding(target.getPrimaryFile()); String encoding = (charset != null) ? charset.name() : null; if (encoding != null) {
values.put("license", license); // NOI18N Charset charset = encodingQuery.getEncoding(target.getPrimaryFile()); String encoding = (charset != null) ? charset.name() : null; if (encoding != null) {
values.put("license", license); // NOI18N Charset charset = encodingQuery.getEncoding(target.getPrimaryFile()); String encoding = (charset != null) ? charset.name() : null; if (encoding != null) {