Table of Contents

Class FileSystemProvider

Namespace
Java.Nio.File.Spi
Assembly
MASES.JNet.dll
public class FileSystemProvider : JVMBridgeBase<FileSystemProvider>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<FileSystemProvider>
FileSystemProvider
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<FileSystemProvider>.IsAssignableFrom(IJavaType)
JVMBridgeBase<FileSystemProvider>.IsAssignableFrom<T>()
JVMBridgeBase<FileSystemProvider>.Execute<T>(params T[])
JVMBridgeBase<FileSystemProvider>.DynBridgeClazz
JVMBridgeBase<FileSystemProvider>.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

FileSystemProvider()

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

[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()

FileSystemProvider(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("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

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

Scheme

public String Scheme { get; }

Property Value

String

Methods

CheckAccess(Path, params AccessMode[])

public void CheckAccess(Path arg0, params AccessMode[] arg1)

Parameters

arg0 Path

Path

arg1 AccessMode[]

AccessMode

Exceptions

IOException

Copy(Path, Path, params CopyOption[])

public void Copy(Path arg0, Path arg1, params CopyOption[] arg2)

Parameters

arg0 Path

Path

arg1 Path

Path

arg2 CopyOption[]

CopyOption

Exceptions

IOException

CreateDirectory(Path, params FileAttribute<object>[])

public void CreateDirectory(Path arg0, params FileAttribute<object>[] arg1)

Parameters

arg0 Path

Path

arg1 FileAttribute<object>[]

FileAttribute

Exceptions

IOException
public void CreateLink(Path arg0, Path arg1)

Parameters

arg0 Path

Path

arg1 Path

Path

Exceptions

IOException
public void CreateSymbolicLink(Path arg0, Path arg1, params FileAttribute<object>[] arg2)

Parameters

arg0 Path

Path

arg1 Path

Path

arg2 FileAttribute<object>[]

FileAttribute

Exceptions

IOException

Delete(Path)

public void Delete(Path arg0)

Parameters

arg0 Path

Path

Exceptions

IOException

DeleteIfExists(Path)

public bool DeleteIfExists(Path arg0)

Parameters

arg0 Path

Path

Returns

bool

bool

Exceptions

IOException

GetFileAttributeView<V>(Path, Class, params LinkOption[])

public V GetFileAttributeView<V>(Path arg0, Class arg1, params LinkOption[] arg2) where V : IFileAttributeView, new()

Parameters

arg0 Path

Path

arg1 Class

Class

arg2 LinkOption[]

LinkOption

Returns

V

V

Type Parameters

V

IFileAttributeView

GetFileStore(Path)

public FileStore GetFileStore(Path arg0)

Parameters

arg0 Path

Path

Returns

FileStore

FileStore

Exceptions

IOException

GetFileSystem(URI)

public FileSystem GetFileSystem(URI arg0)

Parameters

arg0 URI

URI

Returns

FileSystem

FileSystem

GetPath(URI)

public Path GetPath(URI arg0)

Parameters

arg0 URI

URI

Returns

Path

Path

InstalledProviders()

public static List<FileSystemProvider> InstalledProviders()

Returns

List<FileSystemProvider>

List

IsHidden(Path)

public bool IsHidden(Path arg0)

Parameters

arg0 Path

Path

Returns

bool

bool

Exceptions

IOException

IsSameFile(Path, Path)

public bool IsSameFile(Path arg0, Path arg1)

Parameters

arg0 Path

Path

arg1 Path

Path

Returns

bool

bool

Exceptions

IOException

Move(Path, Path, params CopyOption[])

public void Move(Path arg0, Path arg1, params CopyOption[] arg2)

Parameters

arg0 Path

Path

arg1 Path

Path

arg2 CopyOption[]

CopyOption

Exceptions

IOException

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

arg0 Path

Path

arg1 Set<Arg1ExtendsJava_Nio_File_OpenOption>

Set

arg2 ExecutorService

ExecutorService

arg3 FileAttribute<object>[]

FileAttribute

Returns

AsynchronousFileChannel

AsynchronousFileChannel

Type Parameters

Arg1ExtendsJava_Nio_File_OpenOption

OpenOption

Exceptions

IOException

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

arg0 Path

Path

arg1 Set<Arg1ExtendsJava_Nio_File_OpenOption>

Set

arg2 FileAttribute<object>[]

FileAttribute

Returns

SeekableByteChannel

SeekableByteChannel

Type Parameters

Arg1ExtendsJava_Nio_File_OpenOption

OpenOption

Exceptions

IOException

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

arg0 Path

Path

arg1 DirectoryStream.Filter<Arg1objectSuperJava_Nio_File_Path>

DirectoryStream.Filter

Returns

DirectoryStream<Path>

DirectoryStream

Type Parameters

Arg1objectSuperJava_Nio_File_Path

Path

Exceptions

IOException

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

arg0 Path

Path

arg1 Set<Arg1ExtendsJava_Nio_File_OpenOption>

Set

arg2 FileAttribute<object>[]

FileAttribute

Returns

FileChannel

FileChannel

Type Parameters

Arg1ExtendsJava_Nio_File_OpenOption

OpenOption

Exceptions

IOException

NewFileSystem(URI, Map<String, object>)

public FileSystem NewFileSystem(URI arg0, Map<String, object> arg1)

Parameters

arg0 URI

URI

arg1 Map<String, object>

Map

Returns

FileSystem

FileSystem

Exceptions

IOException

NewFileSystem(Path, Map<String, object>)

public FileSystem NewFileSystem(Path arg0, Map<String, object> arg1)

Parameters

arg0 Path

Path

arg1 Map<String, object>

Map

Returns

FileSystem

FileSystem

Exceptions

IOException

NewInputStream(Path, params OpenOption[])

public InputStream NewInputStream(Path arg0, params OpenOption[] arg1)

Parameters

arg0 Path

Path

arg1 OpenOption[]

OpenOption

Returns

InputStream

InputStream

Exceptions

IOException

NewOutputStream(Path, params OpenOption[])

public OutputStream NewOutputStream(Path arg0, params OpenOption[] arg1)

Parameters

arg0 Path

Path

arg1 OpenOption[]

OpenOption

Returns

OutputStream

OutputStream

Exceptions

IOException

ReadAttributes(Path, String, params LinkOption[])

public Map<String, object> ReadAttributes(Path arg0, String arg1, params LinkOption[] arg2)

Parameters

arg0 Path

Path

arg1 String

String

arg2 LinkOption[]

LinkOption

Returns

Map<String, object>

Map

Exceptions

IOException

ReadAttributes<A>(Path, Class, params LinkOption[])

public A ReadAttributes<A>(Path arg0, Class arg1, params LinkOption[] arg2) where A : IBasicFileAttributes, new()

Parameters

arg0 Path

Path

arg1 Class

Class

arg2 LinkOption[]

LinkOption

Returns

A

A

Type Parameters

A

IBasicFileAttributes

Exceptions

IOException
public Path ReadSymbolicLink(Path arg0)

Parameters

arg0 Path

Path

Returns

Path

Path

Exceptions

IOException

SetAttribute(Path, String, object, params LinkOption[])

public void SetAttribute(Path arg0, String arg1, object arg2, params LinkOption[] arg3)

Parameters

arg0 Path

Path

arg1 String

String

arg2 object

object

arg3 LinkOption[]

LinkOption

Exceptions

IOException