com.groupbyinc.flux.common.io.PathUtils.class Maven / Gradle / Ivy
???? 4 j 'com/groupbyinc/flux/common/io/PathUtils java/lang/Object PathUtils.java .Lcom/groupbyinc/flux/common/SuppressForbidden; reason )accesses the default filesystem by design ACTUAL_DEFAULT Ljava/nio/file/FileSystem; DEFAULT ()V
this )Lcom/groupbyinc/flux/common/io/PathUtils; get ;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
java/nio/file/FileSystem getPath
first Ljava/lang/String; more [Ljava/lang/String; $(Ljava/net/URI;)Ljava/nio/file/Path; java/net/URI getScheme ()Ljava/lang/String; " #
! $ file & java/lang/String ( equalsIgnoreCase (Ljava/lang/String;)Z * +
) , provider (()Ljava/nio/file/spi/FileSystemProvider; . /
0 $java/nio/file/spi/FileSystemProvider 2
3 4 java/nio/file/Paths 6
7 8 uri Ljava/net/URI; =([Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path; [Ljava/nio/file/Path; = java/nio/file/Path ? normalize ()Ljava/nio/file/Path; A B @ C resolve ((Ljava/lang/String;)Ljava/nio/file/Path; E F @ G
startsWith (Ljava/nio/file/Path;)Z I J @ K normalizedRoot Ljava/nio/file/Path; normalizedPath root roots path 9([Ljava/nio/file/Path;Ljava/net/URI;)Ljava/nio/file/Path;
8 toString U # @ V <
X getDefaultFileSystem ()Ljava/nio/file/FileSystem; java/nio/file/FileSystems ]
getDefault _ [
^ `
b Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile RuntimeInvisibleAnnotations 1
H
d / *? ? e f ) ? d = ? *+? ? e f <