Returns a reference to the FileSystem instance for accessing the file system identified by the given URI. @param uri the URI identifying the file system @return a reference to the FileSystem instance for accessing the file system identified by the given {@link UR
(URI uri)
| 302 | * @throws IOException thrown if a reference to the file system instance could not be obtained |
| 303 | */ |
| 304 | public static FileSystem get(URI uri) throws IOException { |
| 305 | return FileSystemSafetyNet.wrapWithSafetyNetWhenActivated(getUnguardedFileSystem(uri)); |
| 306 | } |
| 307 | |
| 308 | public static FileSystem getUnguardedFileSystem(final URI fsUri) throws IOException { |
| 309 | checkNotNull(fsUri, "file system URI"); |