Searched refs:FileSystem (Results 1 - 25 of 41) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/management/
H A DFileSystem.java36 public abstract class FileSystem { class
39 private static FileSystem fs;
41 protected FileSystem() { } method in class:FileSystem
46 public static FileSystem open() {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DPathFileManager.java29 import java.nio.file.FileSystem;
54 FileSystem getDefaultFileSystem();
60 void setDefaultFileSystem(FileSystem fs);
H A DJavacPathFileManager.java36 import java.nio.file.FileSystem;
109 protected FileSystem defaultFileSystem;
120 fileSystems = new HashMap<Path,FileSystem>();
134 public FileSystem getDefaultFileSystem() {
141 public void setDefaultFileSystem(FileSystem fs) {
152 for (FileSystem fs: fileSystems.values())
333 FileSystem fs = getFileSystem(path);
434 FileSystem fs = getFileSystem(p);
501 private FileSystem getFileSystem(Path p) throws IOException {
502 FileSystem f
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileSystems.java43 * provider, identified by the URI scheme "file", creates the {@link FileSystem}
90 static final FileSystem defaultFileSystem = defaultFileSystem();
93 private static FileSystem defaultFileSystem() {
137 * Returns the default {@code FileSystem}. The default file system creates
175 public static FileSystem getDefault() {
180 * Returns a reference to an existing {@code FileSystem}.
188 * FileSystem}.
190 * <p> Once a file system created by this provider is {@link FileSystem#close
213 public static FileSystem getFileSystem(URI uri) {
233 * <p> Once a file system is {@link FileSystem#clos
[all...]
H A DFileSystem.java79 * <p> A {@code FileSystem} can provide read-only or read-write access to the
81 * established when the {@code FileSystem} is created and can be tested by invoking
98 public abstract class FileSystem class in inherits:Closeable
104 protected FileSystem() { method in class:FileSystem
230 * attribute views supported by this {@code FileSystem}.
309 * <p> A {@code FileSystem} implementation supports the "{@code glob}" and
403 * FileSystem#getSeparator name-separators}. </p></li>
447 * If this {@code FileSystem} does not does have a lookup service
462 * If this {@code FileSystem} does not support watching file system
H A DPath.java106 FileSystem getFileSystem();
231 * <p> If the given path is associated with a different {@code FileSystem}
276 * <p> If the given path is associated with a different {@code FileSystem}
376 * @see FileSystem#getPath
414 * @see FileSystem#getPath
757 * different {@code FileSystem}, then this method returns {@code false}.
792 * {@link FileSystem#getPath getPath} method then the path string returned
796 * FileSystem#getSeparator separator} to separate names in the path.
/openjdk7/jdk/src/solaris/classes/sun/management/
H A DFileSystemImpl.java32 * Solaris/Linux implementation of sun.management.FileSystem
34 public class FileSystemImpl extends FileSystem {
/openjdk7/jdk/src/windows/classes/sun/management/
H A DFileSystemImpl.java32 * Windows implementation of sun.management.FileSystem
34 public class FileSystemImpl extends FileSystem {
/openjdk7/jdk/test/java/nio/file/FileSystem/
H A DBasic.java26 * @summary Unit test for java.nio.file.FileSystem
35 * Simple santity checks for java.nio.file.FileSystem
44 static void checkSupported(FileSystem fs, String... views) {
52 FileSystem fs = FileSystems.getDefault();
/openjdk7/jdk/test/demo/zipfs/
H A DZFSTests.java50 try (FileSystem fs = FileSystems.newFileSystem(uri, env)) {}
H A DZipFSTester.java45 try (FileSystem fs = newZipFileSystem(Paths.get(args[0]),
54 static void test0(FileSystem fs)
75 static void test1(FileSystem fs0)
83 try (FileSystem copy = newZipFileSystem(tmpfsPath, env)) {
87 try (FileSystem fs = newZipFileSystem(tmpfsPath, new HashMap<String, Object>())) {
91 try (FileSystem fsPath = provider.newFileSystem(tmpfsPath, new HashMap<String, Object>())){}
92 try (FileSystem fsUri = provider.newFileSystem(
200 static void test2(FileSystem fs) throws Exception {
209 FileSystem fs0 = newZipFileSystem(fs1Path, env);
211 final FileSystem fs
[all...]
/openjdk7/jdk/test/java/nio/file/spi/
H A DTestProvider.java34 private final FileSystem theFileSystem;
46 public FileSystem newFileSystem(URI uri, Map<String,?> env) {
51 public FileSystem getFileSystem(URI uri) {
178 static class TestFileSystem extends FileSystem {
/openjdk7/jdk/src/share/sample/nio/file/
H A DDiskUsage.java70 FileSystem fs = FileSystems.getDefault();
/openjdk7/jdk/src/share/classes/java/io/
H A DFileSystem.java33 abstract class FileSystem { class
36 * Return the FileSystem object representing this platform's local
39 public static native FileSystem getFileSystem();
H A DFile.java154 * The FileSystem object representing the platform's local file system.
156 static private FileSystem fs = FileSystem.getFileSystem();
201 * For use by FileSystem classes.
286 directory defined by the FileSystem.getDefaultParent method. On Unix
765 return fs.checkAccess(this, FileSystem.ACCESS_READ);
790 return fs.checkAccess(this, FileSystem.ACCESS_WRITE);
813 return ((fs.getBooleanAttributes(this) & FileSystem.BA_EXISTS) != 0);
843 return ((fs.getBooleanAttributes(this) & FileSystem.BA_DIRECTORY)
876 return ((fs.getBooleanAttributes(this) & FileSystem
[all...]
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java37 class PassThroughFileSystem extends FileSystem {
39 private final FileSystem delegate;
41 PassThroughFileSystem(FileSystemProvider provider, FileSystem delegate) {
50 static FileSystem create() throws IOException {
178 public FileSystem newFileSystem(URI uri, Map<String,?> env)
193 public FileSystem getFileSystem(URI uri) {
195 FileSystem result = delegate;
358 private final FileSystem fs;
361 PassThroughPath(FileSystem fs, Path delegate) {
371 public FileSystem getFileSyste
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DJarFileSystemProvider.java83 FileSystem fs = getFileSystem(uri);
H A DZipFileSystemProvider.java104 public FileSystem newFileSystem(URI uri, Map<String, ?> env)
131 public FileSystem newFileSystem(Path path, Map<String, ?> env)
162 public FileSystem getFileSystem(URI uri) {
/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)) {
426 private static void update(FileSystem fs, String path) throws Throwable{
442 private static void extract(FileSystem fs, String path) throws Throwable{
461 private static void z2zcopy(FileSystem src, FileSystem dst, String path)
486 private static void z2zmove(FileSystem src, FileSystem dst, String path)
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DCustomFilter.java39 import org.openide.filesystems.FileSystem;
133 FileSystem fs = Repository.getDefault().getDefaultFileSystem();
/openjdk7/jdk/src/share/classes/java/nio/file/spi/
H A DFileSystemProvider.java48 * is identified by the URI scheme "file". It creates the {@link FileSystem} that
58 * <p> A provider is a factory for one or more {@link FileSystem} instances. Each
69 * provider, the {@code FileSystem} is created when the provider is initialized.
190 * Constructs a new {@code FileSystem} object identified by a URI. This
203 * java.nio.file.FileSystem#close closed} it is provider-dependent if the
227 public abstract FileSystem newFileSystem(URI uri, Map<String,?> env)
231 * Returns an existing {@code FileSystem} created by this provider.
233 * <p> This method returns a reference to a {@code FileSystem} that was
243 * java.nio.file.FileSystem#close closed} it is provider-dependent if this
269 public abstract FileSystem getFileSyste
[all...]
/openjdk7/jdk/src/share/classes/sun/management/snmp/
H A DAdaptorBootstrap.java41 import sun.management.FileSystem;
341 FileSystem fs = FileSystem.open();
/openjdk7/jdk/test/java/nio/file/WatchService/
H A DFileTreeModifier.java61 FileSystem fs = top.getFileSystem();
H A DSensitivityModifier.java56 FileSystem fs = top.getFileSystem();
/openjdk7/jdk/src/share/classes/sun/management/jmxremote/
H A DConnectorBootstrap.java76 import sun.management.FileSystem;
556 FileSystem fs = FileSystem.open();
598 FileSystem fs = FileSystem.open();

Completed in 128 milliseconds

12