Class IndexHtm
java.lang.Object
org.projecthusky.communication.xd.xdm.IndexHtm
The Class IndexHtm represents the INDEX.HTM file, which is part of the
contents of an XDM volume. The file contains information about the contents
of the volume.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The HTML Footerstatic final String
The HTML Header (including headline)static final String
The HTML Separator for different languages inside this filestatic final String
The Constant TEMPLATE_DE.static final String
The Constant TEMPLATE_EN.static final String
The Constant TEMPLATE_FR. -
Constructor Summary
ConstructorsConstructorDescriptionIndexHtm
(InputStream indexHtmStream) Instantiates a new indexHtm.IndexHtm
(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData) Creates a new INDEX.HTM based on the given txnData.IndexHtm
(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData, VendorInformation vendorInfo) Creates a new INDEX.HTM based on the given txnData and vendorInfo. -
Method Summary
Modifier and TypeMethodDescriptionReturns the content of the INDEX.HTM as InputStream object
-
Field Details
-
HTML_FOOTER
The HTML Footer- See Also:
-
HTML_HEADER
The HTML Header (including headline)- See Also:
-
HTML_SEPARATOR
The HTML Separator for different languages inside this file- See Also:
-
TEMPLATE_DE
The Constant TEMPLATE_DE.- See Also:
-
TEMPLATE_EN
The Constant TEMPLATE_EN.- See Also:
-
TEMPLATE_FR
The Constant TEMPLATE_FR.- See Also:
-
-
Constructor Details
-
IndexHtm
Instantiates a new indexHtm.- Parameters:
indexHtmStream
- the INDEX.HTM file as InputStream object. The file contains information about the contents of the volume.
-
IndexHtm
public IndexHtm(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData) Creates a new INDEX.HTM based on the given txnData.- Parameters:
txnData
- the SubmitTransactionData data
-
IndexHtm
public IndexHtm(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData, VendorInformation vendorInfo) Creates a new INDEX.HTM based on the given txnData and vendorInfo.- Parameters:
txnData
- the SubmitTransactionData datavendorInfo
- the vendor info
-
-
Method Details
-
getInputStream
Returns the content of the INDEX.HTM as InputStream object- Returns:
- the input stream
-