public interface DossierContents extends DossierPath
This interface is a DossierPath extension, represents the directory in the dossier path.
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedMediaTypes() |
byte[] |
getContents() |
String |
getExtension() |
default String |
getFileName() |
String |
getMediaType() |
void |
setContents(byte[] contents)
Stores given contents to a default dir from given byte array
|
getCode, getName, getParent, setParentbyte[] getContents()
throws IOException
IOExceptionvoid setContents(byte[] contents)
throws IOException
contents - data, which needs to be saved to a dossier fileIOExceptionString getMediaType()
List<String> getAllowedMediaTypes()
String getExtension()
default String getFileName()
Copyright © 2021. All rights reserved.