public class ShrinkWrapFileStore extends FileStore
| Constructor and Description |
|---|
ShrinkWrapFileStore(Archive<?> archive) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String attribute) |
<V extends FileStoreAttributeView> |
getFileStoreAttributeView(Class<V> type) |
long |
getTotalSpace() |
long |
getUnallocatedSpace() |
long |
getUsableSpace() |
long |
getUsedSpace()
Iterates through the underlying archive, counting the size of each
Asset, returning the fully-tallied
count in bytes. |
boolean |
isReadOnly() |
String |
name() |
boolean |
supportsFileAttributeView(Class<? extends FileAttributeView> type) |
boolean |
supportsFileAttributeView(String name) |
String |
toString() |
String |
type() |
public ShrinkWrapFileStore(Archive<?> archive)
public String name()
name in class FileStoreFileStore.name()public String type()
type in class FileStoreFileStore.type()public boolean isReadOnly()
isReadOnly in class FileStoreFileStore.isReadOnly()public long getTotalSpace()
getTotalSpace in class FileStoreFileStore.getTotalSpace()public long getUsedSpace()
Asset, returning the fully-tallied
count in bytes.public long getUsableSpace()
getUsableSpace in class FileStoreFileStore.getUsableSpace()public long getUnallocatedSpace()
getUnallocatedSpace in class FileStoreFileStore.getUnallocatedSpace()public boolean supportsFileAttributeView(Class<? extends FileAttributeView> type)
supportsFileAttributeView in class FileStoreFileStore.supportsFileAttributeView(java.lang.Class)public boolean supportsFileAttributeView(String name)
supportsFileAttributeView in class FileStoreFileStore.supportsFileAttributeView(java.lang.String)public <V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> type)
getFileStoreAttributeView in class FileStoreFileStore.getFileStoreAttributeView(java.lang.Class)public Object getAttribute(String attribute)
getAttribute in class FileStoreFileStore.getAttribute(java.lang.String)public String toString()
toString in class ObjectObject.toString()Copyright © 2024 JBoss by Red Hat. All rights reserved.