Interface AudioFileResource
- All Superinterfaces:
FileResource,Identifiable
- All Known Implementing Classes:
AudioFileResourceImpl
public interface AudioFileResource extends FileResource
An audio file resource. Mimetype starts with "audio/".
-
Method Summary
Modifier and Type Method Description intgetDuration()voidsetDuration(int duration)Methods inherited from interface de.digitalcollections.model.api.identifiable.resource.FileResource
getFilename, getFilenameExtension, getFileResourceType, getHttpBaseUrl, getLicense, getMimeType, getSizeInBytes, getUri, isReadonly, setFilename, setFileResourceType, setHttpBaseUrl, setLicense, setMimeType, setReadonly, setSizeInBytes, setUriMethods inherited from interface de.digitalcollections.model.api.identifiable.Identifiable
addIdentifier, getCreated, getDescription, getIdentifierByNamespace, getIdentifiers, getLabel, getLastModified, getPreviewImage, getPreviewImageRenderingHints, getType, getUuid, setCreated, setDescription, setIdentifiers, setLabel, setLastModified, setPreviewImage, setPreviewImageRenderingHints, setType, setUuid
-
Method Details
-
getDuration
int getDuration()- Returns:
- duration in seconds
-
setDuration
void setDuration(int duration)- Parameters:
duration- duration in seconds
-