public class Document extends Object implements Serializable
| Constructor and Description |
|---|
Document() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent() |
void |
getDocument(String fullpath)
Writes content in the document file situated in the directory parameter.
|
String |
getFilename() |
String |
getMimeType() |
SigningValue |
getSigning() |
String |
getTitle() |
void |
setContent(byte[] content) |
void |
setContent(Byte[] content)
Deprecated.
: use setContent(byte[] content)
|
void |
setContent(InputStream inputStream) |
void |
setException(UnsealConnectorException expection) |
void |
setFilename(String filename) |
void |
setMimeType(String mimeType) |
void |
setSigning(SigningValue signing) |
void |
setTitle(String title) |
public final void getDocument(String fullpath) throws EhboxBusinessConnectorException
fullpath - or a directory.EhboxBusinessConnectorException - if there's a problem while writing in the documentpublic final byte[] getContent()
throws UnsealConnectorException
UnsealConnectorExceptionpublic final void setContent(byte[] content)
content - the content to set@Deprecated public final void setContent(Byte[] content)
content - the content to setpublic final void setContent(InputStream inputStream) throws TechnicalConnectorException
inputStream - the content to setTechnicalConnectorExceptionpublic final String getFilename()
public final void setFilename(String filename)
filename - the filename to setpublic final SigningValue getSigning()
public final void setSigning(SigningValue signing)
signing - the signing to setpublic final String getMimeType()
public final void setMimeType(String mimeType)
mimeType - the mimeType to setpublic final String getTitle()
public final void setTitle(String title)
title - the title to setpublic void setException(UnsealConnectorException expection)
expection - the exception to set
Connector Packaging generic 4.0.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.