Searched refs:FileStore (Results 1 - 25 of 28) sorted by relevance

12

/openjdk7/jdk/src/share/sample/nio/file/
H A DDiskUsage.java54 static void printFileStore(FileStore store) throws IOException {
71 for (FileStore store: fs.getFileStores()) {
76 FileStore store = Files.getFileStore(Paths.get(file));
H A DXdd.java70 FileStore store = Files.getFileStore(file);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileStore.java32 * Storage for files. A {@code FileStore} represents a storage pool, device,
34 * of file storage. The {@code FileStore} for where a file is stored is obtained
46 public abstract class FileStore { class
51 protected FileStore() { method in class:FileStore
196 * a {@link FileStore AttributeView} that identifies a set of file attributes.
H A DFileSystem.java54 * over the underlying {@link FileStore file-stores}. </p></li>
68 * is typically composed of one or more underlying {@link FileStore file-stores}
198 * FileStore FileStores} for this file system. The order of the elements is
216 * for (FileStore store: FileSystems.getDefault().getFileStores()) {
226 public abstract Iterable<FileStore> getFileStores();
235 * <p> The {@link FileStore#supportsFileAttributeView(String)
237 * underlying {@link FileStore} supports the file attributes identified by a
H A DFiles.java959 * <p> Where symbolic links are supported, but the underlying {@link FileStore}
1247 * directory on the same {@link FileStore} will usually not require moving
1274 * example, when the target location is on a different {@code FileStore}
1386 * Returns the {@link FileStore} representing the file store where a file
1389 * <p> Once a reference to the {@code FileStore} is obtained it is
1390 * implementation specific if operations on the returned {@code FileStore},
1410 public static FileStore getFileStore(Path path) throws IOException {
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileSystem.java155 private class FileStoreIterator implements Iterator<FileStore> {
157 private FileStore next;
163 private FileStore readNext() {
176 FileStore fs = WindowsFileStore.create(root.toString(), true);
194 public synchronized FileStore next() {
200 FileStore result = next;
213 public Iterable<FileStore> getFileStores() {
222 return new Iterable<FileStore>() {
223 public Iterator<FileStore> iterator() {
H A DWindowsFileStore.java36 * Windows implementation of FileStore.
40 extends FileStore
H A DWindowsFileSystemProvider.java475 public FileStore getFileStore(Path obj) throws IOException {
/openjdk7/jdk/test/java/nio/file/FileStore/
H A DBasic.java26 * @summary Unit test for java.nio.file.FileStore
62 * Test: Directory should be on FileStore that is writable
67 * Test: Two files should have the same FileStore
71 FileStore store1 = Files.getFileStore(file1);
72 FileStore store2 = Files.getFileStore(file2);
78 * Test: File and FileStore attributes
112 FileStore prev = null;
113 for (FileStore store: FileSystems.getDefault().getFileStores()) {
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileSystem.java176 * Returns a FileStore to represent the file system for the given mount
179 abstract FileStore getFileStore(UnixMountEntry entry) throws IOException;
184 private class FileStoreIterator implements Iterator<FileStore> {
186 private FileStore next;
192 private FileStore readNext() {
229 public synchronized FileStore next() {
235 FileStore result = next;
248 public final Iterable<FileStore> getFileStores() {
257 return new Iterable<FileStore>() {
258 public Iterator<FileStore> iterato
[all...]
H A DBsdFileSystem.java101 FileStore getFileStore(UnixMountEntry entry) throws IOException {
H A DLinuxFileSystem.java111 FileStore getFileStore(UnixMountEntry entry) throws IOException {
H A DSolarisFileSystem.java126 FileStore getFileStore(UnixMountEntry entry) throws IOException {
H A DUnixFileSystemProvider.java355 * Returns a FileStore to represent the file system where the given file
358 abstract FileStore getFileStore(UnixPath path) throws IOException;
361 public FileStore getFileStore(Path obj) throws IOException {
H A DUnixFileStore.java37 * Base implementation of FileStore for Unix/like implementations.
41 extends FileStore
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileStore.java45 import java.nio.file.FileStore;
59 public class ZipFileStore extends FileStore {
128 final FileStore fstore;
H A DZipFileSystemProvider.java218 public FileStore getFileStore(Path path) throws IOException {
/openjdk7/jdk/test/java/nio/file/FileSystem/
H A DBasic.java68 for (FileStore store: fs.getFileStores()) {
/openjdk7/jdk/test/java/nio/file/spi/
H A DTestProvider.java162 public FileStore getFileStore(Path file) throws IOException {
216 public Iterable<FileStore> getFileStores() {
/openjdk7/jdk/test/java/nio/file/Files/
H A DInterruptCopy.java45 FileStore store = Files.getFileStore(dir);
H A DPassThroughFileSystem.java116 public Iterable<FileStore> getFileStores() {
333 public FileStore getFileStore(Path file) throws IOException {
H A DFileAttributes.java279 FileStore store = Files.getFileStore(file);
/openjdk7/jdk/test/demo/zipfs/
H A DBasic.java97 // Test: FileStore
98 FileStore store = Files.getFileStore(fs.getPath("/"));
/openjdk7/jdk/src/share/classes/java/nio/file/spi/
H A DFileSystemProvider.java884 * Returns the {@link FileStore} representing the file store where a file
902 public abstract FileStore getFileStore(Path path) throws IOException;
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java262 FileStore fstore = Files.getFileStore(path);

Completed in 98 milliseconds

12