Class PersisterUtils
- java.lang.Object
-
- network.oxalis.ng.commons.persist.PersisterUtils
-
public class PersisterUtils extends Object
- Since:
- 4.0.0
- Author:
- erlend
-
-
Constructor Summary
Constructors Constructor Description PersisterUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathcreateArtifactFolders(Path baseFolder, network.oxalis.vefa.peppol.common.model.Header header)Computes the Path for a directory into which your file artifacts associated with the supplied header may be written.
-
-
-
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
-
-