Table of Contents

Interface IJavaFileManager

Namespace
Javax.Tools
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IJavaFileManager

Methods

Close()

void Close()

Exceptions

IOException

Contains(Location, FileObject)

bool Contains(JavaFileManager.Location arg0, FileObject arg1)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 FileObject

FileObject

Returns

bool

bool

Exceptions

IOException

Flush()

void Flush()

Exceptions

IOException

GetClassLoader(Location)

ClassLoader GetClassLoader(JavaFileManager.Location arg0)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

ClassLoader

ClassLoader

GetFileForInput(Location, String, String)

FileObject GetFileForInput(JavaFileManager.Location arg0, String arg1, String arg2)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 String

String

arg2 String

String

Returns

FileObject

FileObject

Exceptions

IOException

GetFileForOutput(Location, String, String, FileObject)

FileObject GetFileForOutput(JavaFileManager.Location arg0, String arg1, String arg2, FileObject arg3)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 String

String

arg2 String

String

arg3 FileObject

FileObject

Returns

FileObject

FileObject

Exceptions

IOException

GetJavaFileForInput(Location, String, Kind)

JavaFileObject GetJavaFileForInput(JavaFileManager.Location arg0, String arg1, JavaFileObject.Kind arg2)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 String

String

arg2 JavaFileObject.Kind

JavaFileObject.Kind

Returns

JavaFileObject

JavaFileObject

Exceptions

IOException

GetJavaFileForOutput(Location, String, Kind, FileObject)

JavaFileObject GetJavaFileForOutput(JavaFileManager.Location arg0, String arg1, JavaFileObject.Kind arg2, FileObject arg3)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 String

String

arg2 JavaFileObject.Kind

JavaFileObject.Kind

arg3 FileObject

FileObject

Returns

JavaFileObject

JavaFileObject

Exceptions

IOException

GetLocationForModule(Location, String)

JavaFileManager.Location GetLocationForModule(JavaFileManager.Location arg0, String arg1)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 String

String

Returns

JavaFileManager.Location

JavaFileManager.Location

Exceptions

IOException

GetLocationForModule(Location, JavaFileObject)

JavaFileManager.Location GetLocationForModule(JavaFileManager.Location arg0, JavaFileObject arg1)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 JavaFileObject

JavaFileObject

Returns

JavaFileManager.Location

JavaFileManager.Location

Exceptions

IOException

GetServiceLoader<S>(Location, Class)

ServiceLoader<S> GetServiceLoader<S>(JavaFileManager.Location arg0, Class arg1)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 Class

Class

Returns

ServiceLoader<S>

ServiceLoader

Type Parameters

S

Exceptions

IOException

HandleOption(String, Iterator<String>)

bool HandleOption(String arg0, Iterator<String> arg1)

Parameters

arg0 String

String

arg1 Iterator<String>

Iterator

Returns

bool

bool

HasLocation(Location)

bool HasLocation(JavaFileManager.Location arg0)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

bool

bool

InferBinaryName(Location, JavaFileObject)

String InferBinaryName(JavaFileManager.Location arg0, JavaFileObject arg1)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 JavaFileObject

JavaFileObject

Returns

String

String

InferModuleName(Location)

String InferModuleName(JavaFileManager.Location arg0)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

String

String

Exceptions

IOException

IsSameFile(FileObject, FileObject)

bool IsSameFile(FileObject arg0, FileObject arg1)

Parameters

arg0 FileObject

FileObject

arg1 FileObject

FileObject

Returns

bool

bool

List(Location, String, Set<Kind>, bool)

Iterable<JavaFileObject> List(JavaFileManager.Location arg0, String arg1, Set<JavaFileObject.Kind> arg2, bool arg3)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 String

String

arg2 Set<JavaFileObject.Kind>

Set

arg3 bool

bool

Returns

Iterable<JavaFileObject>

Iterable

Exceptions

IOException

ListLocationsForModules(Location)

Iterable<Set<JavaFileManager.Location>> ListLocationsForModules(JavaFileManager.Location arg0)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

Iterable<Set<JavaFileManager.Location>>

Iterable

Exceptions

IOException