Class Path
public class Path : Iterable<Path>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<Path>, IEnumerable, IAsyncEnumerable<Path>, IIterable<Path>, IPath
- Inheritance
-
JVMBridgeBasePath
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIEnumerableExtension
- 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>>.DynBridgeClazzJVMBridgeBase<Iterable<Path>>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
FileName
public Path FileName { get; }
Property Value
FileSystem
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Path.html#getFileSystem()
public FileSystem FileSystem { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
NameCount
public int NameCount { get; }
Property Value
Parent
public Path Parent { get; }
Property Value
Root
public Path Root { get; }
Property Value
Methods
CompareTo(Path)
public int CompareTo(Path arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
EndsWith(String)
public bool EndsWith(String arg0)
Parameters
Returns
EndsWith(Path)
public bool EndsWith(Path arg0)
Parameters
Returns
GetName(int)
public Path GetName(int arg0)
Parameters
Returns
IsAbsolute()
public bool IsAbsolute()
Returns
Iterator()
public Iterator<Path> Iterator()
Returns
Normalize()
public Path Normalize()
Returns
Of(String, params String[])
public static Path Of(String arg0, params String[] arg1)
Parameters
Returns
Of(URI)
public static Path Of(URI arg0)
Parameters
Returns
Register(WatchService, params Kind<object>[])
public WatchKey Register(WatchService arg0, params WatchEvent.Kind<object>[] arg1)
Parameters
arg0
WatchServicearg1
Kind<object>[]
Returns
Exceptions
Register(WatchService, Kind<object>[], params Modifier[])
public WatchKey Register(WatchService arg0, WatchEvent.Kind<object>[] arg1, params WatchEvent.Modifier[] arg2)
Parameters
arg0
WatchServicearg1
Kind<object>[]arg2
Modifier[]
Returns
Exceptions
Relativize(Path)
public Path Relativize(Path arg0)
Parameters
Returns
Resolve(String)
public Path Resolve(String arg0)
Parameters
Returns
Resolve(Path)
public Path Resolve(Path arg0)
Parameters
Returns
ResolveSibling(String)
public Path ResolveSibling(String arg0)
Parameters
Returns
ResolveSibling(Path)
public Path ResolveSibling(Path arg0)
Parameters
Returns
StartsWith(String)
public bool StartsWith(String arg0)
Parameters
Returns
StartsWith(Path)
public bool StartsWith(Path arg0)
Parameters
Returns
Subpath(int, int)
public Path Subpath(int arg0, int arg1)
Parameters
Returns
ToAbsolutePath()
public Path ToAbsolutePath()
Returns
ToFile()
public File ToFile()
Returns
ToRealPath(params LinkOption[])
public Path ToRealPath(params LinkOption[] arg0)
Parameters
arg0
LinkOption[]
Returns
Exceptions
ToUri()
public URI ToUri()
Returns
Operators
implicit operator Comparable(Path)
Converter from Path to Comparable
public static implicit operator Comparable(Path t)
Parameters
t
Path
Returns
implicit operator Watchable(Path)
public static implicit operator Watchable(Path t)
Parameters
t
Path