Package no.maddin.niofs.webdav
Class WebdavFileSystem
java.lang.Object
java.nio.file.FileSystem
no.maddin.niofs.webdav.WebdavFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable
WebDAV implementation of a FileSystem.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) com.github.benmanes.caffeine.cache.Cache<Path, WebdavFileAttributes> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Not implementedbooleanCheck if one filesystem is equal to another.com.github.benmanes.caffeine.cache.Cache<Path, WebdavFileAttributes> Not implemented(package private) StringgetHost()getPathMatcher(String syntaxAndPattern) Not implemented(package private) intgetPort()Not implemented(package private) com.github.sardine.SardineNot implementedinthashCode()booleanisOpen()Not implementedbooleanNot implementedNot implementedprovider()voidsetAttcache(com.github.benmanes.caffeine.cache.Cache<Path, WebdavFileAttributes> attcache) Not implemented
-
Field Details
-
attcache
com.github.benmanes.caffeine.cache.Cache<Path,WebdavFileAttributes> attcache
-
-
Constructor Details
-
WebdavFileSystem
- Parameters:
provider- an instance of a WebdavFileSystemProvided. This can be a shared instance.serverUri- URI for the WEBDAV server, the scheme is ignored.
-
-
Method Details
-
provider
- Specified by:
providerin classFileSystem
-
close
Not implemented- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classFileSystem- Throws:
IOException
-
getFileStores
Not implemented- Specified by:
getFileStoresin classFileSystem- Returns:
- null
-
getPath
- Specified by:
getPathin classFileSystem
-
getPathMatcher
Not implemented- Specified by:
getPathMatcherin classFileSystem- Returns:
- null
-
getRootDirectories
Not implemented- Specified by:
getRootDirectoriesin classFileSystem- Returns:
- null
-
getSeparator
- Specified by:
getSeparatorin classFileSystem
-
getUserPrincipalLookupService
Not implemented- Specified by:
getUserPrincipalLookupServicein classFileSystem- Returns:
- null
-
isOpen
public boolean isOpen()Not implemented- Specified by:
isOpenin classFileSystem- Returns:
- false
-
isReadOnly
public boolean isReadOnly()Not implemented- Specified by:
isReadOnlyin classFileSystem- Returns:
- false
-
newWatchService
Not implemented- Specified by:
newWatchServicein classFileSystem- Returns:
- null
- Throws:
IOException
-
supportedFileAttributeViews
Not implemented- Specified by:
supportedFileAttributeViewsin classFileSystem- Returns:
- null
-
equals
Check if one filesystem is equal to another. Checks Host, username and Port. -
hashCode
public int hashCode() -
getUserName
-
getHost
String getHost() -
getPort
int getPort() -
getPassword
-
getSardine
- Throws:
IOException
-
getAttcache
-
setAttcache
public void setAttcache(com.github.benmanes.caffeine.cache.Cache<Path, WebdavFileAttributes> attcache)
-