Class PersisterUtils


  • public class PersisterUtils
    extends Object
    Since:
    4.0.0
    Author:
    erlend
    • Constructor Detail

      • PersisterUtils

        public PersisterUtils()
    • Method Detail

      • createArtifactFolders

        public static Path createArtifactFolders​(Path baseFolder,
                                                 network.oxalis.vefa.peppol.common.model.Header header)
                                          throws IOException
        Computes the Path for a directory into which your file artifacts associated with the supplied header may be written. Any intermediate directories are created for you.
        Parameters:
        baseFolder - the root folder to use as the basis for appending additional folders.
        header - meta data to be used as input for computation.
        Returns:
        a path to a directory into which you may store your artifacts.
        Throws:
        IOException