public class ConcreteDossierFileVersion extends Object implements DossierFileVersion
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedMediaTypes() |
String |
getCode() |
byte[] |
getContents() |
String |
getExtension() |
Path |
getFilePath() |
String |
getMediaType() |
String |
getName() |
DossierPath |
getParent() |
Representation |
getRepresentation() |
Representation |
getRepresentation(String mediaType) |
void |
setContents(byte[] contents) |
void |
setMediaType(String mediaType) |
void |
setParent(DossierPath parent) |
void |
setStore(Store store) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFileNamepublic void setContents(byte[] contents)
throws IOException
setContents in interface DossierContentsIOExceptionpublic byte[] getContents()
throws IOException
getContents in interface DossierContentsIOExceptionpublic String getMediaType()
getMediaType in interface DossierContentspublic String getExtension()
getExtension in interface DossierContentspublic Representation getRepresentation()
getRepresentation in interface DossierFileVersionpublic Representation getRepresentation(String mediaType)
getRepresentation in interface DossierFileVersionpublic void setStore(Store store)
setStore in interface DossierFileVersionpublic void setMediaType(String mediaType)
setMediaType in interface DossierFileVersionpublic String getCode()
getCode in interface DossierPathpublic String getName()
getName in interface DossierPathpublic DossierPath getParent()
getParent in interface DossierPathpublic void setParent(DossierPath parent)
setParent in interface DossierPathpublic List<String> getAllowedMediaTypes()
getAllowedMediaTypes in interface DossierContentspublic Path getFilePath()
getFilePath in interface DossierFileVersionCopyright © 2020. All rights reserved.