Class ShrinkWrapFileStore
java.lang.Object
java.nio.file.FileStore
org.jboss.shrinkwrap.impl.nio.file.ShrinkWrapFileStore
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String attribute) <V extends FileStoreAttributeView>
VgetFileStoreAttributeView
(Class<V> type) long
long
long
long
Iterates through the underlying archive, counting the size of eachAsset
, returning the fully-tallied count in bytes.boolean
name()
boolean
supportsFileAttributeView
(Class<? extends FileAttributeView> type) boolean
toString()
type()
-
Field Details
-
TYPE
FileStore
type- See Also:
-
archive
Underlying archive
-
-
Constructor Details
-
ShrinkWrapFileStore
-
-
Method Details
-
name
-
type
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in classFileStore
- See Also:
-
getTotalSpace
- Specified by:
getTotalSpace
in classFileStore
- Throws:
IOException
- See Also:
-
getUsedSpace
public long getUsedSpace()Iterates through the underlying archive, counting the size of eachAsset
, returning the fully-tallied count in bytes.- Returns:
-
getUsableSpace
- Specified by:
getUsableSpace
in classFileStore
- Throws:
IOException
- See Also:
-
getUnallocatedSpace
- Specified by:
getUnallocatedSpace
in classFileStore
- Throws:
IOException
- See Also:
-
supportsFileAttributeView
- Specified by:
supportsFileAttributeView
in classFileStore
- See Also:
-
supportsFileAttributeView
- Specified by:
supportsFileAttributeView
in classFileStore
- See Also:
-
getFileStoreAttributeView
- Specified by:
getFileStoreAttributeView
in classFileStore
- See Also:
-
getAttribute
- Specified by:
getAttribute
in classFileStore
- Throws:
IOException
- See Also:
-
toString
-