Class FileSystemProvider
public class FileSystemProvider : JVMBridgeBase<FileSystemProvider>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
FileSystemProvider
- Implements
- Inherited Members
-
JVMBridgeBase<FileSystemProvider>.IsAssignableFrom(IJavaType)JVMBridgeBase<FileSystemProvider>.IsAssignableFrom<T>()JVMBridgeBase<FileSystemProvider>.Execute<T>(params T[])JVMBridgeBase<FileSystemProvider>.DynBridgeClazzJVMBridgeBase<FileSystemProvider>.BridgeClazzJVMBridgeBase.ReferenceEqualsJVM(IJVMBridgeBase, IJVMBridgeBase)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.CastToAndDetach<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.CastDirectAndDetach<TNewClass>()JVMBridgeBase.CheckDisposed()JVMBridgeBase.ToString()JVMBridgeBase.Equals(IJVMBridgeBase)JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
FileSystemProvider(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public FileSystemProvider(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
FileSystemProvider(params object[])
Generic constructor used by JCOBridge when a derived class needs to forward arguments to the base JVMBridgeBase class.
[Obsolete("FileSystemProvider 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 FileSystemProvider(params object[] args)
Parameters
argsobject[]
Remarks
FileSystemProvider represents a JVM interface or abstract class in .NET. Instantiating it directly outside of JCOBridge infrastructure is not supported and may produce undefined behavior.
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Scheme
public String Scheme { get; }
Property Value
Methods
CheckAccess(Path, params AccessMode[])
public void CheckAccess(Path arg0, params AccessMode[] arg1)
Parameters
arg0Patharg1AccessMode[]
Exceptions
Copy(Path, Path, params CopyOption[])
public void Copy(Path arg0, Path arg1, params CopyOption[] arg2)
Parameters
arg0Patharg1Patharg2CopyOption[]
Exceptions
CreateDirectory(Path, params FileAttribute<object>[])
public void CreateDirectory(Path arg0, params FileAttribute<object>[] arg1)
Parameters
arg0Patharg1FileAttribute<object>[]
Exceptions
CreateLink(Path, Path)
public void CreateLink(Path arg0, Path arg1)
Parameters
Exceptions
CreateSymbolicLink(Path, Path, params FileAttribute<object>[])
public void CreateSymbolicLink(Path arg0, Path arg1, params FileAttribute<object>[] arg2)
Parameters
arg0Patharg1Patharg2FileAttribute<object>[]
Exceptions
Delete(Path)
public void Delete(Path arg0)
Parameters
Exceptions
DeleteIfExists(Path)
public bool DeleteIfExists(Path arg0)
Parameters
Returns
Exceptions
GetFileAttributeView<V>(Path, Class, params LinkOption[])
public V GetFileAttributeView<V>(Path arg0, Class arg1, params LinkOption[] arg2) where V : IFileAttributeView
Parameters
arg0Patharg1Classarg2LinkOption[]
Returns
- V
V
Type Parameters
GetFileStore(Path)
public FileStore GetFileStore(Path arg0)
Parameters
Returns
Exceptions
GetFileSystem(URI)
public FileSystem GetFileSystem(URI arg0)
Parameters
Returns
GetPath(URI)
public Path GetPath(URI arg0)
Parameters
Returns
InstalledProviders()
public static List<FileSystemProvider> InstalledProviders()
Returns
IsHidden(Path)
public bool IsHidden(Path arg0)
Parameters
Returns
Exceptions
IsSameFile(Path, Path)
public bool IsSameFile(Path arg0, Path arg1)
Parameters
Returns
Exceptions
Move(Path, Path, params CopyOption[])
public void Move(Path arg0, Path arg1, params CopyOption[] arg2)
Parameters
arg0Patharg1Patharg2CopyOption[]
Exceptions
NewAsynchronousFileChannel<Arg1ExtendsJava_Nio_File_OpenOption>(Path, Set<Arg1ExtendsJava_Nio_File_OpenOption>, ExecutorService, params FileAttribute<object>[])
public AsynchronousFileChannel NewAsynchronousFileChannel<Arg1ExtendsJava_Nio_File_OpenOption>(Path arg0, Set<Arg1ExtendsJava_Nio_File_OpenOption> arg1, ExecutorService arg2, params FileAttribute<object>[] arg3) where Arg1ExtendsJava_Nio_File_OpenOption : OpenOption
Parameters
arg0Patharg1Set<Arg1ExtendsJava_Nio_File_OpenOption>arg2ExecutorServicearg3FileAttribute<object>[]
Returns
Type Parameters
Arg1ExtendsJava_Nio_File_OpenOption
Exceptions
NewByteChannel<Arg1ExtendsJava_Nio_File_OpenOption>(Path, Set<Arg1ExtendsJava_Nio_File_OpenOption>, params FileAttribute<object>[])
public SeekableByteChannel NewByteChannel<Arg1ExtendsJava_Nio_File_OpenOption>(Path arg0, Set<Arg1ExtendsJava_Nio_File_OpenOption> arg1, params FileAttribute<object>[] arg2) where Arg1ExtendsJava_Nio_File_OpenOption : OpenOption
Parameters
arg0Patharg1Set<Arg1ExtendsJava_Nio_File_OpenOption>arg2FileAttribute<object>[]
Returns
Type Parameters
Arg1ExtendsJava_Nio_File_OpenOption
Exceptions
NewDirectoryStream<Arg1objectSuperJava_Nio_File_Path>(Path, Filter<Arg1objectSuperJava_Nio_File_Path>)
public DirectoryStream<Path> NewDirectoryStream<Arg1objectSuperJava_Nio_File_Path>(Path arg0, DirectoryStream.Filter<Arg1objectSuperJava_Nio_File_Path> arg1) where Arg1objectSuperJava_Nio_File_Path : Path
Parameters
arg0Patharg1DirectoryStream.Filter<Arg1objectSuperJava_Nio_File_Path>
Returns
Type Parameters
Arg1objectSuperJava_Nio_File_Path
Exceptions
NewFileChannel<Arg1ExtendsJava_Nio_File_OpenOption>(Path, Set<Arg1ExtendsJava_Nio_File_OpenOption>, params FileAttribute<object>[])
public FileChannel NewFileChannel<Arg1ExtendsJava_Nio_File_OpenOption>(Path arg0, Set<Arg1ExtendsJava_Nio_File_OpenOption> arg1, params FileAttribute<object>[] arg2) where Arg1ExtendsJava_Nio_File_OpenOption : OpenOption
Parameters
arg0Patharg1Set<Arg1ExtendsJava_Nio_File_OpenOption>arg2FileAttribute<object>[]
Returns
Type Parameters
Arg1ExtendsJava_Nio_File_OpenOption
Exceptions
NewFileSystem(URI, Map<String, object>)
public FileSystem NewFileSystem(URI arg0, Map<String, object> arg1)
Parameters
Returns
Exceptions
NewFileSystem(Path, Map<String, object>)
public FileSystem NewFileSystem(Path arg0, Map<String, object> arg1)
Parameters
Returns
Exceptions
NewInputStream(Path, params OpenOption[])
public InputStream NewInputStream(Path arg0, params OpenOption[] arg1)
Parameters
arg0Patharg1OpenOption[]
Returns
Exceptions
NewOutputStream(Path, params OpenOption[])
public OutputStream NewOutputStream(Path arg0, params OpenOption[] arg1)
Parameters
arg0Patharg1OpenOption[]
Returns
Exceptions
ReadAttributes(Path, String, params LinkOption[])
public Map<String, object> ReadAttributes(Path arg0, String arg1, params LinkOption[] arg2)
Parameters
arg0Patharg1Stringarg2LinkOption[]
Returns
Exceptions
ReadAttributes<A>(Path, Class, params LinkOption[])
public A ReadAttributes<A>(Path arg0, Class arg1, params LinkOption[] arg2) where A : IBasicFileAttributes
Parameters
arg0Patharg1Classarg2LinkOption[]
Returns
- A
A
Type Parameters
Exceptions
ReadSymbolicLink(Path)
public Path ReadSymbolicLink(Path arg0)
Parameters
Returns
Exceptions
SetAttribute(Path, String, object, params LinkOption[])
public void SetAttribute(Path arg0, String arg1, object arg2, params LinkOption[] arg3)
Parameters
arg0Patharg1Stringarg2objectarg3LinkOption[]