Table of Contents

Class SecureDirectoryStream<T>

Namespace
Java.Nio.File
Assembly
MASES.JNet.dll
public class SecureDirectoryStream<T> : DirectoryStream<T>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<T>, IEnumerable, IAsyncEnumerable<T>, IIterable<T>, ISecureDirectoryStream<T>, IDirectoryStream<T>

Type Parameters

T
Inheritance
SecureDirectoryStream<T>
Implements
Inherited Members
Extension Methods

Constructors

SecureDirectoryStream()

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

[Obsolete("SecureDirectoryStream 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 SecureDirectoryStream()

SecureDirectoryStream(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("SecureDirectoryStream 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 SecureDirectoryStream(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

DeleteDirectory(T)

public void DeleteDirectory(T arg0)

Parameters

arg0 T

T

Exceptions

IOException

DeleteFile(T)

public void DeleteFile(T arg0)

Parameters

arg0 T

T

Exceptions

IOException

GetFileAttributeView<V>(Class)

public V GetFileAttributeView<V>(Class arg0) where V : IFileAttributeView, new()

Parameters

arg0 Class

Class

Returns

V

V

Type Parameters

V

IFileAttributeView

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

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

Parameters

arg0 T

T

arg1 Class

Class

arg2 LinkOption[]

LinkOption

Returns

V

V

Type Parameters

V

IFileAttributeView

Move(T, SecureDirectoryStream<T>, T)

public void Move(T arg0, SecureDirectoryStream<T> arg1, T arg2)

Parameters

arg0 T

T

arg1 SecureDirectoryStream<T>

SecureDirectoryStream

arg2 T

T

Exceptions

IOException

NewByteChannel<Arg1ExtendsJava_Nio_File_OpenOption>(T, Set<Arg1ExtendsJava_Nio_File_OpenOption>, params FileAttribute<object>[])

public SeekableByteChannel NewByteChannel<Arg1ExtendsJava_Nio_File_OpenOption>(T arg0, Set<Arg1ExtendsJava_Nio_File_OpenOption> arg1, params FileAttribute<object>[] arg2) where Arg1ExtendsJava_Nio_File_OpenOption : OpenOption

Parameters

arg0 T

T

arg1 Set<Arg1ExtendsJava_Nio_File_OpenOption>

Set

arg2 FileAttribute<object>[]

FileAttribute

Returns

SeekableByteChannel

SeekableByteChannel

Type Parameters

Arg1ExtendsJava_Nio_File_OpenOption

OpenOption

Exceptions

IOException

NewDirectoryStream(T, params LinkOption[])

public SecureDirectoryStream<T> NewDirectoryStream(T arg0, params LinkOption[] arg1)

Parameters

arg0 T

T

arg1 LinkOption[]

LinkOption

Returns

SecureDirectoryStream<T>

SecureDirectoryStream

Exceptions

IOException

Operators

implicit operator SecureDirectoryStream(SecureDirectoryStream<T>)

public static implicit operator SecureDirectoryStream(SecureDirectoryStream<T> t)

Parameters

t SecureDirectoryStream<T>

Returns

SecureDirectoryStream