Example usage for org.eclipse.jdt.internal.compiler.tool EclipseFileManager EclipseFileManager

List of usage examples for org.eclipse.jdt.internal.compiler.tool EclipseFileManager EclipseFileManager

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.tool EclipseFileManager EclipseFileManager.

Prototype

public EclipseFileManager(Locale locale, Charset charset) 

Source Link

Usage

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);
}