Class Path
public class Path : Iterable<Path>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<Path>, IEnumerable, IAsyncEnumerable<Path>, IPath, IComparable<Path>, IIterable<Path>, IWatchable
- Inheritance
-
Path
- Implements
- Inherited Members
- Extension Methods
Constructors
Path(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 Path(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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
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
GetFileName()
public Path GetFileName()
Returns
GetFileSystem()
public FileSystem GetFileSystem()
Returns
GetName(int)
public Path GetName(int arg0)
Parameters
Returns
GetNameCount()
public int GetNameCount()
Returns
GetParent()
public Path GetParent()
Returns
GetRoot()
public Path GetRoot()
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
arg0WatchServicearg1Kind<object>[]
Returns
Exceptions
Register(WatchService, Kind<object>[], params Modifier[])
public WatchKey Register(WatchService arg0, WatchEvent.Kind<object>[] arg1, params WatchEvent.Modifier[] arg2)
Parameters
arg0WatchServicearg1Kind<object>[]arg2Modifier[]
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
arg0LinkOption[]
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
tPath
Returns
implicit operator Watchable(Path)
public static implicit operator Watchable(Path t)
Parameters
tPath