public static class DXFile.Describe extends DXDataObject.Describe
Modifier and Type | Method and Description |
---|---|
ArchivalState |
getArchivalState()
Returns the archival state of the file.
|
Long |
getChunkSize(int index)
Returns the size the specified file part in bytes.
|
List<Integer> |
getFilePartsList()
Returns a list of indices corresponding to parts of the file
|
String |
getMD5(int index)
Returns the hexadecimal encoded value of MD5 message-digest of the specified file part.
|
String |
getMediaType()
Returns the Internet Media Type of the file.
|
long |
getSize()
Returns the size of the file in bytes.
|
getCreationDate, getDetails, getFolder, getModificationDate, getName, getProject, getProperties, getState, getTags, getTypes, isVisible
public Long getChunkSize(int index)
index
- part index that was provided to the file upload callIllegalArgumentException
- when the index supplied is not a file partpublic List<Integer> getFilePartsList()
public String getMD5(int index)
index
- part index that was provided to the file upload callIllegalArgumentException
- when the index supplied is not a file partpublic String getMediaType()
public long getSize()
public ArchivalState getArchivalState()
Copyright © 2023. All Rights Reserved.