no.maddin.niofs.smb.SMBShare Maven / Gradle / Ivy
package no.maddin.niofs.smb;
import java.io.IOException;
import java.nio.file.FileStore;
import java.nio.file.FileSystem;
import java.nio.file.Path;
import java.nio.file.PathMatcher;
import java.nio.file.WatchService;
import java.nio.file.attribute.UserPrincipalLookupService;
import java.nio.file.spi.FileSystemProvider;
import java.security.Principal;
import java.util.Set;
/**
* Denotes a Windows share.
*/
public class SMBShare extends FileSystem {
private final SMBFileSystemProvider provider;
public SMBShare(SMBFileSystemProvider provider, String server, String share, Principal principal) {
this.provider = provider;
}
@Override
public FileSystemProvider provider() {
return provider;
}
@Override
public void close() throws IOException {
// TODO Auto-generated method stub
}
@Override
public boolean isOpen() {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean isReadOnly() {
// TODO Auto-generated method stub
return false;
}
@Override
public String getSeparator() {
// TODO Auto-generated method stub
return null;
}
@Override
public Iterable getRootDirectories() {
// TODO Auto-generated method stub
return null;
}
@Override
public Iterable getFileStores() {
// TODO Auto-generated method stub
return null;
}
@Override
public Set supportedFileAttributeViews() {
// TODO Auto-generated method stub
return null;
}
@Override
public Path getPath(String first, String... more) {
// TODO Auto-generated method stub
return null;
}
@Override
public PathMatcher getPathMatcher(String syntaxAndPattern) {
// TODO Auto-generated method stub
return null;
}
@Override
public UserPrincipalLookupService getUserPrincipalLookupService() {
// TODO Auto-generated method stub
return null;
}
@Override
public WatchService newWatchService() throws IOException {
// TODO Auto-generated method stub
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy