19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.nio.fs;
27
28 import java.nio.file.*;
29 import java.nio.file.attribute.*;
30 import java.nio.file.spi.FileTypeDetector;
31 import java.io.IOException;
32
33 import jdk.internal.util.StaticProperty;
34
35 /**
36 * Linux implementation of FileSystemProvider
37 */
38
39 public class LinuxFileSystemProvider extends UnixFileSystemProvider {
40 public LinuxFileSystemProvider() {
41 super();
42 }
43
44 @Override
45 LinuxFileSystem newFileSystem(String dir) {
46 return new LinuxFileSystem(this, dir);
47 }
48
49 @Override
50 LinuxFileStore getFileStore(UnixPath path) throws IOException {
51 return new LinuxFileStore(path);
52 }
53
54 @Override
55 @SuppressWarnings("unchecked")
56 public <V extends FileAttributeView> V getFileAttributeView(Path obj,
57 Class<V> type,
58 LinkOption... options)
59 {
|
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.nio.fs;
27
28 import java.nio.file.*;
29 import java.nio.file.attribute.*;
30 import java.nio.file.spi.FileTypeDetector;
31 import java.io.IOException;
32
33 import jdk.internal.util.StaticProperty;
34
35 /**
36 * Linux implementation of FileSystemProvider
37 */
38
39 class LinuxFileSystemProvider extends UnixFileSystemProvider {
40 public LinuxFileSystemProvider() {
41 super();
42 }
43
44 @Override
45 LinuxFileSystem newFileSystem(String dir) {
46 return new LinuxFileSystem(this, dir);
47 }
48
49 @Override
50 LinuxFileStore getFileStore(UnixPath path) throws IOException {
51 return new LinuxFileStore(path);
52 }
53
54 @Override
55 @SuppressWarnings("unchecked")
56 public <V extends FileAttributeView> V getFileAttributeView(Path obj,
57 Class<V> type,
58 LinkOption... options)
59 {
|