Table of Contents

Class JavaFileManager

Namespace
Javax.Tools
Assembly
MASES.JNet.dll
public class JavaFileManager : JVMBridgeBase<JavaFileManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IJavaFileManager
Inheritance
JVMBridgeBase
JVMBridgeBase<JavaFileManager>
JavaFileManager
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
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

JavaFileManager()

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

[Obsolete("JavaFileManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JavaFileManager()

JavaFileManager(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

[Obsolete("JavaFileManager class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JavaFileManager(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

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 Closeable(JavaFileManager)

Converter from JavaFileManager to Closeable

public static implicit operator Closeable(JavaFileManager t)

Parameters

t JavaFileManager

Returns

Closeable

implicit operator Flushable(JavaFileManager)

Converter from JavaFileManager to Flushable

public static implicit operator Flushable(JavaFileManager t)

Parameters

t JavaFileManager

Returns

Flushable

implicit operator OptionChecker(JavaFileManager)

Converter from JavaFileManager to OptionChecker

public static implicit operator OptionChecker(JavaFileManager t)

Parameters

t JavaFileManager

Returns

OptionChecker