Class ReadmeTxt

java.lang.Object
org.projecthusky.communication.xd.xdm.ReadmeTxt

public class ReadmeTxt extends Object
The Class ReadmeTxt represents the README.TXT file, which is part of the contents of an XDM volume. The File contains information about the vendor, who build the system that created the XDM volume.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant TEMPLATE_EN.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReadmeTxt(InputStream readmeTxtStream)
    Creates a new README.TXT based on the given InputStream.
    ReadmeTxt(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData)
    Creates a new README.TXT Object based on the given txnData (default values will be used for vendor information).
    ReadmeTxt(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData, VendorInformation vendorInfo)
    Creates a new README.TXT Object based on the given txnData and the given vendor information.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the INDEX.HTM contents as InputStream

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ReadmeTxt

      public ReadmeTxt(InputStream readmeTxtStream)
      Creates a new README.TXT based on the given InputStream.
      Parameters:
      readmeTxtStream - the readme txt stream
    • ReadmeTxt

      public ReadmeTxt(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData)
      Creates a new README.TXT Object based on the given txnData (default values will be used for vendor information).
      Parameters:
      txnData - the SubmitTransactionData
    • ReadmeTxt

      public ReadmeTxt(org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet txnData, VendorInformation vendorInfo)
      Creates a new README.TXT Object based on the given txnData and the given vendor information.
      Parameters:
      txnData - the SubmitTransactionData data
      vendorInfo - the vendor info
  • Method Details

    • getInputStream

      public InputStream getInputStream()
      Gets the INDEX.HTM contents as InputStream
      Returns:
      the input stream