public class ObjectInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ObjectInfo.ProtectionStatus
ProtectionStatus in ObjectInfo defined in PTP
|
Constructor and Description |
---|
ObjectInfo(UINT32 storageID,
UINT16 objectFormat,
ObjectInfo.ProtectionStatus protectionStatus,
UINT32 objectCompressedSize,
UINT16 thumbFormat,
UINT32 thumbCompressedSize,
UINT32 thumbPixWidth,
UINT32 thumbPixHeight,
UINT32 imagePixWidth,
UINT32 imagePixHeight,
UINT32 imageBitDepth,
UINT32 parentObject,
UINT16 associationType,
UINT32 associationDesc,
UINT32 sequenceNumber,
java.lang.String fileName,
java.lang.String captureDate,
java.lang.String modificationDate,
java.lang.String keywords) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
UINT32 |
getAssociationDesc() |
UINT16 |
getAssociationType() |
java.lang.String |
getCaptureDate() |
java.lang.String |
getFileName() |
UINT32 |
getImageBitDepth() |
UINT32 |
getImagePixHeight() |
UINT32 |
getImagePixWidth() |
java.lang.String |
getKeywords() |
java.lang.String |
getModificationDate() |
UINT32 |
getObjectCompressedSize() |
UINT16 |
getObjectFormat() |
UINT32 |
getParentObject() |
ObjectInfo.ProtectionStatus |
getProtectionStatus() |
UINT32 |
getSequenceNumber() |
UINT32 |
getStorageID() |
UINT32 |
getThumbCompressedSize() |
UINT16 |
getThumbFormat() |
UINT32 |
getThumbPixHeight() |
UINT32 |
getThumbPixWidth() |
int |
hashCode() |
static ObjectInfo |
read(java.io.InputStream is)
Construct ObjectInfo from InputStream
|
static ObjectInfo |
read(PtpInputStream pis)
Construct ObjectInfo from PtpInputStream.
|
java.lang.String |
toString() |
public ObjectInfo(UINT32 storageID, UINT16 objectFormat, ObjectInfo.ProtectionStatus protectionStatus, UINT32 objectCompressedSize, UINT16 thumbFormat, UINT32 thumbCompressedSize, UINT32 thumbPixWidth, UINT32 thumbPixHeight, UINT32 imagePixWidth, UINT32 imagePixHeight, UINT32 imageBitDepth, UINT32 parentObject, UINT16 associationType, UINT32 associationDesc, UINT32 sequenceNumber, java.lang.String fileName, java.lang.String captureDate, java.lang.String modificationDate, java.lang.String keywords)
public static ObjectInfo read(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static ObjectInfo read(PtpInputStream pis) throws java.io.IOException
java.io.IOException
public UINT32 getStorageID()
public UINT16 getObjectFormat()
public ObjectInfo.ProtectionStatus getProtectionStatus()
public UINT32 getObjectCompressedSize()
public UINT16 getThumbFormat()
public UINT32 getThumbCompressedSize()
public UINT32 getThumbPixWidth()
public UINT32 getThumbPixHeight()
public UINT32 getImagePixWidth()
public UINT32 getImagePixHeight()
public UINT32 getImageBitDepth()
public UINT32 getParentObject()
public UINT16 getAssociationType()
public UINT32 getAssociationDesc()
public UINT32 getSequenceNumber()
public java.lang.String getFileName()
public java.lang.String getCaptureDate()
public java.lang.String getModificationDate()
public java.lang.String getKeywords()
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