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 TypeMethodDescriptionvoid
close()
Not implementedboolean
Check if one filesystem is equal to another.com.github.benmanes.caffeine.cache.Cache
<Path, WebdavFileAttributes> Not implemented(package private) String
getHost()
getPathMatcher
(String syntaxAndPattern) Not implemented(package private) int
getPort()
Not implemented(package private) com.github.sardine.Sardine
Not implementedint
hashCode()
boolean
isOpen()
Not implementedboolean
Not implementedNot implementedprovider()
void
setAttcache
(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:
provider
in classFileSystem
-
close
Not implemented- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classFileSystem
- Throws:
IOException
-
getFileStores
Not implemented- Specified by:
getFileStores
in classFileSystem
- Returns:
- null
-
getPath
- Specified by:
getPath
in classFileSystem
-
getPathMatcher
Not implemented- Specified by:
getPathMatcher
in classFileSystem
- Returns:
- null
-
getRootDirectories
Not implemented- Specified by:
getRootDirectories
in classFileSystem
- Returns:
- null
-
getSeparator
- Specified by:
getSeparator
in classFileSystem
-
getUserPrincipalLookupService
Not implemented- Specified by:
getUserPrincipalLookupService
in classFileSystem
- Returns:
- null
-
isOpen
public boolean isOpen()Not implemented- Specified by:
isOpen
in classFileSystem
- Returns:
- false
-
isReadOnly
public boolean isReadOnly()Not implemented- Specified by:
isReadOnly
in classFileSystem
- Returns:
- false
-
newWatchService
Not implemented- Specified by:
newWatchService
in classFileSystem
- Returns:
- null
- Throws:
IOException
-
supportedFileAttributeViews
Not implemented- Specified by:
supportedFileAttributeViews
in 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)
-