List of usage examples for org.eclipse.jdt.internal.compiler.tool EclipseFileManager EclipseFileManager
public EclipseFileManager(Locale locale, Charset charset)
From source file:com.mysema.codegen.ECJEvaluatorFactory.java
License:Apache License
public ECJEvaluatorFactory(ClassLoader parent, CompilerOptions compilerOptions) { this.parentClassLoader = parent; this.fileManager = new MemFileManager(parent, new EclipseFileManager(Locale.getDefault(), Charset.defaultCharset())); this.loader = fileManager.getClassLoader(StandardLocation.CLASS_OUTPUT); this.compilerOptions = compilerOptions; }
From source file:com.wavemaker.tools.compiler.WaveMakerJavaCompiler.java
License:Open Source License
@Override public StandardJavaFileManager getStandardFileManager( DiagnosticListener<? super JavaFileObject> diagnosticListener, Locale locale, Charset charset) { return new EclipseFileManager(locale, charset); }