public class StorageInfo
extends java.lang.Object
Constructor and Description |
---|
StorageInfo(UINT16 storageType,
UINT16 fileSystemType,
UINT16 accessCapability,
UINT64 maxCapacity,
UINT64 freeSpaceInBytes,
UINT32 freeSpaceInImages,
java.lang.String storageDescription,
java.lang.String volumeLabel) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
UINT16 |
getAccessCapability() |
UINT16 |
getFileSystemType() |
UINT64 |
getFreeSpaceInBytes() |
UINT32 |
getFreeSpaceInImages() |
UINT64 |
getMaxCapacity() |
java.lang.String |
getStorageDescription() |
UINT16 |
getStorageType() |
java.lang.String |
getVolumeLabel() |
int |
hashCode() |
static StorageInfo |
read(java.io.InputStream is)
Construct StorageInfo from InputStream.
|
static StorageInfo |
read(PtpInputStream pis)
Construct StorageInfo from PtpInputStream.
|
java.lang.String |
toString() |
public static StorageInfo read(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static StorageInfo read(PtpInputStream pis) throws java.io.IOException
java.io.IOException
public UINT16 getStorageType()
public UINT16 getFileSystemType()
public UINT16 getAccessCapability()
public UINT64 getMaxCapacity()
public UINT64 getFreeSpaceInBytes()
public UINT32 getFreeSpaceInImages()
public java.lang.String getStorageDescription()
public java.lang.String getVolumeLabel()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object