Class MetaDataGenerator

    • Constructor Detail

      • MetaDataGenerator

        public MetaDataGenerator()
    • Method Detail

      • write

        public Path write​(String metaDataType,
                          String content)
                   throws IOException
        Generates metadata
        Parameters:
        content - file content to write
        metaDataType - type of meta data
        Returns:
        written metadata path
        Throws:
        IOException - when the file could not be written
      • write

        public Path write​(Path outputPath,
                          String content)
                   throws IOException
        Generates metadata in unix format
        Parameters:
        content - file content to write
        outputPath - custom path to write meta data file
        Returns:
        written metadata path
        Throws:
        IOException - when the file could not be written