Searched refs:newFileSystem (Results 1 - 19 of 19) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileSystems.java50 * newFileSystem} methods defined by this class, locates and loads all
196 * instance is created by the {@link #newFileSystem newFileSystem} method).
230 * dependent. If found, the provider's {@link FileSystemProvider#newFileSystem(URI,Map)
231 * newFileSystem(URI,Map)} method is invoked to construct the new file system.
244 * FileSystem fs = FileSystems.newFileSystem(URI.create("memory:///?name=logfs"), env);
269 public static FileSystem newFileSystem(URI uri, Map<String,?> env) method in class:FileSystems
272 return newFileSystem(uri, env, null);
279 * the same manner as the {@link #newFileSystem(URI,Map) newFileSystem(UR
314 public static FileSystem newFileSystem(URI uri, Map<String,?> env, ClassLoader loader) method in class:FileSystems
375 public static FileSystem newFileSystem(Path path, method in class:FileSystems
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DBsdFileSystemProvider.java42 BsdFileSystem newFileSystem(String dir) { method in class:BsdFileSystemProvider
H A DMacOSXFileSystemProvider.java42 MacOSXFileSystem newFileSystem(String dir) { method in class:MacOSXFileSystemProvider
H A DSolarisFileSystemProvider.java43 SolarisFileSystem newFileSystem(String dir) { method in class:SolarisFileSystemProvider
H A DLinuxFileSystemProvider.java43 LinuxFileSystem newFileSystem(String dir) { method in class:LinuxFileSystemProvider
H A DUnixFileSystemProvider.java56 theFileSystem = newFileSystem(userDir);
62 abstract UnixFileSystem newFileSystem(String dir); method in class:UnixFileSystemProvider
85 public final FileSystem newFileSystem(URI uri, Map<String,?> env) { method in class:UnixFileSystemProvider
/openjdk7/jdk/test/demo/zipfs/
H A DZFSTests.java50 try (FileSystem fs = FileSystems.newFileSystem(uri, env)) {}
H A DBasic.java51 // Test: FileSystems#newFileSystem(Path)
53 FileSystems.newFileSystem(zipfile, null).close();
55 // Test: FileSystems#newFileSystem(URI)
57 FileSystem fs = FileSystems.newFileSystem(uri, env, null);
H A DZipFSTester.java90 // newFileSystem(path...) should not throw exception
91 try (FileSystem fsPath = provider.newFileSystem(tmpfsPath, new HashMap<String, Object>())){}
92 try (FileSystem fsUri = provider.newFileSystem(
96 throw new RuntimeException("newFileSystem(uri...) does not throw exception");
109 provider.newFileSystem(new File(System.getProperty("test.src", ".")).toPath(),
111 throw new RuntimeException("newFileSystem() opens a directory as zipfs");
115 provider.newFileSystem(src, new HashMap<String, Object>());
116 throw new RuntimeException("newFileSystem() opens a non-zip file as zipfs");
343 return FileSystems.newFileSystem(
H A DPathOps.java452 fs = FileSystems.newFileSystem(zipfile, null);
/openjdk7/jdk/src/share/classes/java/nio/file/spi/
H A DFileSystemProvider.java63 * The {@link #newFileSystem newFileSystem} method may be used to create a file
68 * the {@code newFileSystem} method is invoked. In the case of the default
191 * method is invoked by the {@link FileSystems#newFileSystem(URI,Map)}
227 public abstract FileSystem newFileSystem(URI uri, Map<String,?> env) method in class:FileSystemProvider
234 * created by invoking the {@link #newFileSystem(URI,Map) newFileSystem(URI,Map)}
235 * method. File systems created the {@link #newFileSystem(Path,Map)
236 * newFileSystem(Path,Map)} method are not returned by this method.
248 * closed (and before a new instance is created by the {@link #newFileSystem
337 public FileSystem newFileSystem(Path path, Map<String,?> env) method in class:FileSystemProvider
[all...]
/openjdk7/jdk/test/java/nio/file/spi/
H A DTestProvider.java46 public FileSystem newFileSystem(URI uri, Map<String,?> env) { method in class:TestProvider
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystemProvider.java104 public FileSystem newFileSystem(URI uri, Map<String, ?> env) method in class:ZipFileSystemProvider
131 public FileSystem newFileSystem(Path path, Map<String, ?> env) method in class:ZipFileSystemProvider
H A DZipInfo.java63 .newFileSystem(Paths.get(args[0]), env));
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java166 try (FileSystem fs = provider.newFileSystem(Paths.get(args[1]), env)) {
210 try (FileSystem fs2 = provider.newFileSystem(Paths.get(args[2]), env)) {
215 try (FileSystem fs2 = provider.newFileSystem(Paths.get(args[2]), env)) {
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java54 return provider.newFileSystem(uri, env);
178 public FileSystem newFileSystem(URI uri, Map<String,?> env) method in class:PassThroughFileSystem.PassThroughProvider
/openjdk7/jdk/test/java/util/zip/
H A DLargeZip.java231 try (FileSystem fs = provider.newFileSystem(largeFile.toPath(), env)) {
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileSystemProvider.java77 public FileSystem newFileSystem(URI uri, Map<String,?> env) method in class:WindowsFileSystemProvider
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DJavacPathFileManager.java504 fs = FileSystems.newFileSystem(p, null);

Completed in 52 milliseconds