Class FileUtils

java.lang.Object
eu.europa.ec.taxud.dac8.vm.utils.FileUtils

public class FileUtils extends Object
The type File utils.
  • Method Details

    • addPropertiesToContext

      public static void addPropertiesToContext(eu.europa.ec.taxud.validation.ValidationContext validationContext, Properties properties)
      Add properties to context.
      Parameters:
      validationContext - the validation context
      properties - the properties
    • addXpathsPropertiesInContext

      public static void addXpathsPropertiesInContext(eu.europa.ec.taxud.validation.ValidationContext context, Properties properties)
      Add xpaths properties in context.
      Parameters:
      context - the context
      properties - the properties
    • loadAndCompile

      public static void loadAndCompile(eu.europa.ec.taxud.validation.ValidationContext context, InputStream xpathPropertiesInputStream, XPath xPath) throws XPathExpressionException, IOException
      Load and compile.
      Parameters:
      context - the context
      xpathPropertiesInputStream - the xpath properties input stream
      xPath - the x path
      Throws:
      XPathExpressionException - the x path expression exception
      IOException - the io exception