Class ShrinkWrapFileStore
java.lang.Object
java.nio.file.FileStore
org.jboss.shrinkwrap.impl.base.nio2.file.ShrinkWrapFileStore
- Author:
- Andrew Lee Rubinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attribute) <V extends FileStoreAttributeView>
VgetFileStoreAttributeView(Class<V> type) longlonglonglongIterates through the underlying archive, counting the size of eachAsset, returning the fully-tallied count in bytes.booleanname()booleansupportsFileAttributeView(Class<? extends FileAttributeView> type) booleantoString()type()Methods inherited from class FileStore
getBlockSize
-
Constructor Details
-
ShrinkWrapFileStore
-
-
Method Details
-
name
-
type
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classFileStore- See Also:
-
getTotalSpace
public long getTotalSpace()- Specified by:
getTotalSpacein classFileStore- See Also:
-
getUsedSpace
public long getUsedSpace()Iterates through the underlying archive, counting the size of eachAsset, returning the fully-tallied count in bytes.- Returns:
- The total size in bytes of all assets within the archive.
-
getUsableSpace
public long getUsableSpace()- Specified by:
getUsableSpacein classFileStore- See Also:
-
getUnallocatedSpace
public long getUnallocatedSpace()- Specified by:
getUnallocatedSpacein classFileStore- See Also:
-
supportsFileAttributeView
- Specified by:
supportsFileAttributeViewin classFileStore- See Also:
-
supportsFileAttributeView
- Specified by:
supportsFileAttributeViewin classFileStore- See Also:
-
getFileStoreAttributeView
- Specified by:
getFileStoreAttributeViewin classFileStore- See Also:
-
getAttribute
- Specified by:
getAttributein classFileStore- See Also:
-
toString
-