Class VtlFileArtifact

    • Constructor Detail

      • VtlFileArtifact

        protected VtlFileArtifact​(java.io.File file,
                                  ArtifactModel model)
        Creates a new file artifact.
        Parameters:
        file - the physical file of this artifact
        model - the artifact model to create this folder artifact within
    • Method Detail

      • convert

        public static FileArtifact convert​(Path path)
                                    throws VilException
        Conversion operation.
        Parameters:
        path - the path to be converted
        Returns:
        the converted value
        Throws:
        VilException - in case that creating the artifact fails
      • convert

        public static FileArtifact convert​(java.lang.String val)
                                    throws VilException
        Conversion operation.
        Parameters:
        val - the value to be converted
        Returns:
        the converted value
        Throws:
        VilException - in case that creating the artifact fails