Table of Contents

Class ForwardingJavaFileManager<M>

Namespace
Javax.Tools
Assembly
MASES.JNet.dll
public class ForwardingJavaFileManager<M> : JavaFileManager, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IJavaFileManager where M : IJavaFileManager, new()

Type Parameters

M

IJavaFileManager

Inheritance
JVMBridgeBase
JVMBridgeBase<JavaFileManager>
ForwardingJavaFileManager<M>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<JavaFileManager>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JavaFileManager>.IsAssignableFrom<T>()
JVMBridgeBase<JavaFileManager>.Execute<T>(params T[])
JVMBridgeBase<JavaFileManager>.DynBridgeClazz
JVMBridgeBase<JavaFileManager>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ForwardingJavaFileManager()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ForwardingJavaFileManager()

ForwardingJavaFileManager(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public ForwardingJavaFileManager(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Close()

public void Close()

Exceptions

IOException

Contains(Location, FileObject)

public bool Contains(JavaFileManager.Location arg0, FileObject arg1)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 FileObject

FileObject

Returns

bool

bool

Exceptions

IOException

Flush()

public void Flush()

Exceptions

IOException

GetClassLoader(Location)

public ClassLoader GetClassLoader(JavaFileManager.Location arg0)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

ClassLoader

ClassLoader

GetFileForInput(Location, String, String)

public 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)

public 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)

public 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)

public 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)

public 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)

public 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)

public 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>)

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

Parameters

arg0 String

String

arg1 Iterator<String>

Iterator

Returns

bool

bool

HasLocation(Location)

public bool HasLocation(JavaFileManager.Location arg0)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

bool

bool

InferBinaryName(Location, JavaFileObject)

public String InferBinaryName(JavaFileManager.Location arg0, JavaFileObject arg1)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

arg1 JavaFileObject

JavaFileObject

Returns

String

String

InferModuleName(Location)

public String InferModuleName(JavaFileManager.Location arg0)

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

String

String

Exceptions

IOException

IsSameFile(FileObject, FileObject)

public bool IsSameFile(FileObject arg0, FileObject arg1)

Parameters

arg0 FileObject

FileObject

arg1 FileObject

FileObject

Returns

bool

bool

IsSupportedOption(String)

public int IsSupportedOption(String arg0)

Parameters

arg0 String

String

Returns

int

int

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

public 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)

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

Parameters

arg0 JavaFileManager.Location

JavaFileManager.Location

Returns

Iterable<Set<JavaFileManager.Location>>

Iterable

Exceptions

IOException

Operators

implicit operator ForwardingJavaFileManager(ForwardingJavaFileManager<M>)

public static implicit operator ForwardingJavaFileManager(ForwardingJavaFileManager<M> t)

Parameters

t ForwardingJavaFileManager<M>

Returns

ForwardingJavaFileManager