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() |
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 |
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
UnsealConnectorException
public 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 setTechnicalConnectorException
public final String getFilename()
public final void setFilename(String filename)
filename
- the filename 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 PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.