org.projecthusky.communication.xd.xdm.IndexHtm Maven / Gradle / Ivy
/*
* This code is made available under the terms of the Eclipse Public License v1.0
* in the github project https://github.com/project-husky/husky there you also
* find a list of the contributors and the license information.
*
* This project has been developed further and modified by the joined working group Husky
* on the basis of the eHealth Connector opensource project from June 28, 2021,
* whereas medshare GmbH is the initial and main contributor/author of the eHealth Connector.
*
*/
package org.projecthusky.communication.xd.xdm;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.text.MessageFormat;
import org.projecthusky.common.model.VendorInformation;
import org.projecthusky.common.utils.XdsMetadataUtil;
import org.projecthusky.communication.utils.XdsUtil;
import org.openehealth.ipf.commons.ihe.xds.core.metadata.Document;
import org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* 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.
*/
public class IndexHtm {
/** The HTML Footer */
public static final String HTML_FOOTER = "