Table of Contents

Class Path

Namespace
Java.Nio.File
Assembly
MASES.JNet.dll
public class Path : Iterable<Path>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<Path>, IEnumerable, IAsyncEnumerable<Path>, IIterable<Path>, IPath
Inheritance
JVMBridgeBase
JVMBridgeBase<Iterable<Path>>
JVMBridgeBaseEnumerable<Iterable<Path>>
JVMBridgeBaseEnumerable<Iterable<Path>, Path>
Path
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IEnumerableExtension
Inherited Members
JVMBridgeBaseEnumerable<Iterable<Path>, Path>.GetEnumerator()
JVMBridgeBaseEnumerable<Iterable<Path>>.GetEnumerator()
JVMBridgeBase<Iterable<Path>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Iterable<Path>>.IsAssignableFrom<T>()
JVMBridgeBase<Iterable<Path>>.Execute<T>(params T[])
JVMBridgeBase<Iterable<Path>>.DynBridgeClazz
JVMBridgeBase<Iterable<Path>>.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

Path()

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

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

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

FileName

public Path FileName { get; }

Property Value

Path

FileSystem

public FileSystem FileSystem { get; }

Property Value

FileSystem

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

NameCount

public int NameCount { get; }

Property Value

int

Parent

public Path Parent { get; }

Property Value

Path

Root

public Path Root { get; }

Property Value

Path

Methods

CompareTo(Path)

public int CompareTo(Path arg0)

Parameters

arg0 Path

Path

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

EndsWith(String)

public bool EndsWith(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

EndsWith(Path)

public bool EndsWith(Path arg0)

Parameters

arg0 Path

Path

Returns

bool

bool

GetName(int)

public Path GetName(int arg0)

Parameters

arg0 int

int

Returns

Path

Path

IsAbsolute()

public bool IsAbsolute()

Returns

bool

bool

Iterator()

public Iterator<Path> Iterator()

Returns

Iterator<Path>

Iterator

Normalize()

public Path Normalize()

Returns

Path

Path

Of(String, params String[])

public static Path Of(String arg0, params String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

Path

Path

Of(URI)

public static Path Of(URI arg0)

Parameters

arg0 URI

URI

Returns

Path

Path

Register(WatchService, params Kind<object>[])

public WatchKey Register(WatchService arg0, params WatchEvent.Kind<object>[] arg1)

Parameters

arg0 WatchService

WatchService

arg1 Kind<object>[]

WatchEvent.Kind

Returns

WatchKey

WatchKey

Exceptions

IOException

Register(WatchService, Kind<object>[], params Modifier[])

public WatchKey Register(WatchService arg0, WatchEvent.Kind<object>[] arg1, params WatchEvent.Modifier[] arg2)

Parameters

arg0 WatchService

WatchService

arg1 Kind<object>[]

WatchEvent.Kind

arg2 Modifier[]

WatchEvent.Modifier

Returns

WatchKey

WatchKey

Exceptions

IOException

Relativize(Path)

public Path Relativize(Path arg0)

Parameters

arg0 Path

Path

Returns

Path

Path

Resolve(String)

public Path Resolve(String arg0)

Parameters

arg0 String

String

Returns

Path

Path

Resolve(Path)

public Path Resolve(Path arg0)

Parameters

arg0 Path

Path

Returns

Path

Path

ResolveSibling(String)

public Path ResolveSibling(String arg0)

Parameters

arg0 String

String

Returns

Path

Path

ResolveSibling(Path)

public Path ResolveSibling(Path arg0)

Parameters

arg0 Path

Path

Returns

Path

Path

StartsWith(String)

public bool StartsWith(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

StartsWith(Path)

public bool StartsWith(Path arg0)

Parameters

arg0 Path

Path

Returns

bool

bool

Subpath(int, int)

public Path Subpath(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

Path

Path

ToAbsolutePath()

public Path ToAbsolutePath()

Returns

Path

Path

ToFile()

public File ToFile()

Returns

File

File

ToRealPath(params LinkOption[])

public Path ToRealPath(params LinkOption[] arg0)

Parameters

arg0 LinkOption[]

LinkOption

Returns

Path

Path

Exceptions

IOException

ToUri()

public URI ToUri()

Returns

URI

URI

Operators

implicit operator Comparable(Path)

Converter from Path to Comparable

public static implicit operator Comparable(Path t)

Parameters

t Path

Returns

Comparable

implicit operator Watchable(Path)

Converter from Path to Watchable

public static implicit operator Watchable(Path t)

Parameters

t Path

Returns

Watchable