public interface java.nio.file.Path extends java.lang.Comparable<java.nio.file.Path>, java.lang.Iterable<java.nio.file.Path>, java.nio.file.Watchable
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: java.nio.file.Path
super_class: java.lang.Object
{
public static java.nio.file.Path of(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
aload 0
aload 1
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 first Ljava/lang/String;
0 1 1 more [Ljava/lang/String;
MethodParameters:
Name Flags
first
more
public static java.nio.file.Path of(java.net.URI);
descriptor: (Ljava/net/URI;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "Missing scheme"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.provider:()Ljava/nio/file/spi/FileSystemProvider;
aload 0
invokevirtual java.nio.file.spi.FileSystemProvider.getPath:(Ljava/net/URI;)Ljava/nio/file/Path;
areturn
5: StackMap locals:
StackMap stack:
invokestatic java.nio.file.spi.FileSystemProvider.installedProviders:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: java.net.URI java.lang.String top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.spi.FileSystemProvider
astore 2
start local 2 7: aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.getScheme:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
8: aload 2
aload 0
invokevirtual java.nio.file.spi.FileSystemProvider.getPath:(Ljava/net/URI;)Ljava/nio/file/Path;
areturn
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: new java.nio.file.FileSystemNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "Provider \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" not installed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.nio.file.FileSystemNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 uri Ljava/net/URI;
1 11 1 scheme Ljava/lang/String;
7 9 2 provider Ljava/nio/file/spi/FileSystemProvider;
MethodParameters:
Name Flags
uri
public abstract java.nio.file.FileSystem getFileSystem();
descriptor: ()Ljava/nio/file/FileSystem;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isAbsolute();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path getRoot();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path getFileName();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path getParent();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int getNameCount();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path getName(int);
descriptor: (I)Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
index
public abstract java.nio.file.Path subpath(int, int);
descriptor: (II)Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
beginIndex
endIndex
public abstract boolean startsWith(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
other
public boolean startsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.startsWith:(Ljava/nio/file/Path;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/file/Path;
0 1 1 other Ljava/lang/String;
MethodParameters:
Name Flags
other
public abstract boolean endsWith(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
other
public boolean endsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.endsWith:(Ljava/nio/file/Path;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/file/Path;
0 1 1 other Ljava/lang/String;
MethodParameters:
Name Flags
other
public abstract java.nio.file.Path normalize();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path resolve(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
other
public java.nio.file.Path resolve(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/file/Path;
0 1 1 other Ljava/lang/String;
MethodParameters:
Name Flags
other
public java.nio.file.Path resolveSibling(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 2
start local 2 3: aload 2
ifnonnull 4
aload 1
goto 5
StackMap locals: java.nio.file.Path
StackMap stack:
4: aload 2
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
StackMap locals:
StackMap stack: java.nio.file.Path
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/nio/file/Path;
0 6 1 other Ljava/nio/file/Path;
3 6 2 parent Ljava/nio/file/Path;
MethodParameters:
Name Flags
other
public java.nio.file.Path resolveSibling(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolveSibling:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/file/Path;
0 1 1 other Ljava/lang/String;
MethodParameters:
Name Flags
other
public abstract java.nio.file.Path relativize(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
other
public abstract java.net.URI toUri();
descriptor: ()Ljava/net/URI;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path toAbsolutePath();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.file.Path toRealPath(java.nio.file.LinkOption[]);
descriptor: ([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
flags: (0x0481) ACC_PUBLIC, ACC_VARARGS, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
options
public java.io.File toFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
if_acmpne 2
1: new java.io.File
dup
aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Path not associated with default file system."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/nio/file/Path;
public abstract java.nio.file.WatchKey register(java.nio.file.WatchService, java.nio.file.WatchEvent$Kind<?>[], java.nio.file.WatchEvent$Modifier[]);
descriptor: (Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
flags: (0x0481) ACC_PUBLIC, ACC_VARARGS, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind<*>;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
MethodParameters:
Name Flags
watcher
events
modifiers
public java.nio.file.WatchKey register(java.nio.file.WatchService, java.nio.file.WatchEvent$Kind<?>[]);
descriptor: (Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind;)Ljava/nio/file/WatchKey;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
anewarray java.nio.file.WatchEvent$Modifier
invokeinterface java.nio.file.Path.register:(Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind;[Ljava/nio/file/WatchEvent$Modifier;)Ljava/nio/file/WatchKey;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/file/Path;
0 1 1 watcher Ljava/nio/file/WatchService;
0 1 2 events [Ljava/nio/file/WatchEvent$Kind;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/WatchService;[Ljava/nio/file/WatchEvent$Kind<*>;)Ljava/nio/file/WatchKey;
MethodParameters:
Name Flags
watcher
events
public java.util.Iterator<java.nio.file.Path> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.nio.file.Path$1
dup
aload 0
invokespecial java.nio.file.Path$1.<init>:(Ljava/nio/file/Path;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/nio/file/Path;
Signature: ()Ljava/util/Iterator<Ljava/nio/file/Path;>;
public abstract int compareTo(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
other
public abstract boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
other
public abstract int hashCode();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.file.Path
invokeinterface java.nio.file.Path.compareTo:(Ljava/nio/file/Path;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Ljava/nio/file/Path;>;Ljava/lang/Iterable<Ljava/nio/file/Path;>;Ljava/nio/file/Watchable;
SourceFile: "Path.java"
NestMembers:
java.nio.file.Path$1
InnerClasses:
java.nio.file.Path$1
public abstract Kind = java.nio.file.WatchEvent$Kind of java.nio.file.WatchEvent
public abstract Modifier = java.nio.file.WatchEvent$Modifier of java.nio.file.WatchEvent