Class FileDataProvenance


public class FileDataProvenance extends FileXML
  • Field Details

    • XML_ENCODING

      private static final String XML_ENCODING
      The charset the XML file is written in.
      See Also:
    • XML_HEADER

      private static final String XML_HEADER
      The XML version description header.
      See Also:
    • DATA_PROVENANCE

      private static final String DATA_PROVENANCE
      The MIPAV XML header comment.
      See Also:
    • file

      private File file
      File reference.
    • pHolder

      private ProvenanceHolder pHolder
      The provenance holder to write from and read into
  • Constructor Details

    • FileDataProvenance

      public FileDataProvenance(String fn, String fDir, ProvenanceHolder ph)
      VOI reader/writer constructor.
      Parameters:
      fileName - file name
      fileDir - file directory
      image - image model: needed during the read process to ensure the VOI "fits" in the image space.
  • Method Details

    • writeXML

      public void writeXML() throws IOException
      Writes the data provenance into xml formatted file
      Throws:
      IOException