Package org.mycore.datamodel.niofs.ifs2
Class MCRFileStore
java.lang.Object
java.nio.file.FileStore
org.mycore.datamodel.niofs.MCRAbstractFileStore
org.mycore.datamodel.niofs.ifs2.MCRFileStore
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String attribute) Returns base directory of this filestore.<V extends FileStoreAttributeView>
VgetFileStoreAttributeView
(Class<V> type) static MCRFileStore
getInstance
(MCRStoredNode node) getPhysicalPath
(MCRPath path) Translates the given path into an absolute path of the physical filesystem.long
long
long
boolean
name()
boolean
supportsFileAttributeView
(Class<? extends FileAttributeView> type) boolean
type()
Methods inherited from class java.nio.file.FileStore
getBlockSize
-
Method Details
-
getInstance
- Throws:
IOException
-
name
-
type
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in classFileStore
-
getTotalSpace
- Specified by:
getTotalSpace
in classFileStore
- Throws:
IOException
-
getUsableSpace
- Specified by:
getUsableSpace
in classFileStore
- Throws:
IOException
-
getUnallocatedSpace
- Specified by:
getUnallocatedSpace
in classFileStore
- Throws:
IOException
-
supportsFileAttributeView
- Specified by:
supportsFileAttributeView
in classFileStore
-
supportsFileAttributeView
- Specified by:
supportsFileAttributeView
in classFileStore
-
getFileStoreAttributeView
- Specified by:
getFileStoreAttributeView
in classFileStore
-
getAttribute
- Specified by:
getAttribute
in classFileStore
- Throws:
IOException
-
getBaseDirectory
Description copied from class:MCRAbstractFileStore
Returns base directory of this filestore.- Specified by:
getBaseDirectory
in classMCRAbstractFileStore
- Throws:
IOException
-
getPhysicalPath
Description copied from class:MCRAbstractFileStore
Translates the given path into an absolute path of the physical filesystem. To retrieve a relative path usePath.relativize(Path)
onMCRAbstractFileStore.getBaseDirectory()
. The returned path may not exist or may be null.- Specified by:
getPhysicalPath
in classMCRAbstractFileStore
-