]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms/src/org/argeo/cms/file/provider/CmsFileSystemProvider.java
Improve ACR attribute typing.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / file / provider / CmsFileSystemProvider.java
1 package org.argeo.cms.file.provider;
2
3 import java.io.IOException;
4 import java.net.URI;
5 import java.nio.channels.SeekableByteChannel;
6 import java.nio.file.AccessMode;
7 import java.nio.file.CopyOption;
8 import java.nio.file.DirectoryStream;
9 import java.nio.file.DirectoryStream.Filter;
10 import java.nio.file.FileStore;
11 import java.nio.file.FileSystem;
12 import java.nio.file.LinkOption;
13 import java.nio.file.OpenOption;
14 import java.nio.file.Path;
15 import java.nio.file.attribute.BasicFileAttributes;
16 import java.nio.file.attribute.FileAttribute;
17 import java.nio.file.attribute.FileAttributeView;
18 import java.nio.file.spi.FileSystemProvider;
19 import java.util.Map;
20 import java.util.Set;
21
22 public class CmsFileSystemProvider extends FileSystemProvider {
23
24 @Override
25 public String getScheme() {
26 return "cms";
27 }
28
29 @Override
30 public FileSystem newFileSystem(URI uri, Map<String, ?> env) throws IOException {
31 // TODO Auto-generated method stub
32 return null;
33 }
34
35 @Override
36 public FileSystem getFileSystem(URI uri) {
37 // TODO Auto-generated method stub
38 return null;
39 }
40
41 @Override
42 public Path getPath(URI uri) {
43 // TODO Auto-generated method stub
44 return null;
45 }
46
47 @Override
48 public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs)
49 throws IOException {
50 // TODO Auto-generated method stub
51 return null;
52 }
53
54 @Override
55 public DirectoryStream<Path> newDirectoryStream(Path dir, Filter<? super Path> filter) throws IOException {
56 // TODO Auto-generated method stub
57 return null;
58 }
59
60 @Override
61 public void createDirectory(Path dir, FileAttribute<?>... attrs) throws IOException {
62 // TODO Auto-generated method stub
63
64 }
65
66 @Override
67 public void delete(Path path) throws IOException {
68 // TODO Auto-generated method stub
69
70 }
71
72 @Override
73 public void copy(Path source, Path target, CopyOption... options) throws IOException {
74 // TODO Auto-generated method stub
75
76 }
77
78 @Override
79 public void move(Path source, Path target, CopyOption... options) throws IOException {
80 // TODO Auto-generated method stub
81
82 }
83
84 @Override
85 public boolean isSameFile(Path path, Path path2) throws IOException {
86 // TODO Auto-generated method stub
87 return false;
88 }
89
90 @Override
91 public boolean isHidden(Path path) throws IOException {
92 // TODO Auto-generated method stub
93 return false;
94 }
95
96 @Override
97 public FileStore getFileStore(Path path) throws IOException {
98 // TODO Auto-generated method stub
99 return null;
100 }
101
102 @Override
103 public void checkAccess(Path path, AccessMode... modes) throws IOException {
104 // TODO Auto-generated method stub
105
106 }
107
108 @Override
109 public <V extends FileAttributeView> V getFileAttributeView(Path path, Class<V> type, LinkOption... options) {
110 // TODO Auto-generated method stub
111 return null;
112 }
113
114 @Override
115 public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options)
116 throws IOException {
117 // TODO Auto-generated method stub
118 return null;
119 }
120
121 @Override
122 public Map<String, Object> readAttributes(Path path, String attributes, LinkOption... options) throws IOException {
123 // TODO Auto-generated method stub
124 return null;
125 }
126
127 @Override
128 public void setAttribute(Path path, String attribute, Object value, LinkOption... options) throws IOException {
129 // TODO Auto-generated method stub
130
131 }
132
133 }