Example #1
0
 protected void interpolateLdapXml(File sourceFile, File outputFile) throws IOException {
   try (FileInputStream fis = new FileInputStream(sourceFile)) {
     interpolateLdapXml(fis, outputFile);
   }
 }
Example #2
0
 /** Interpolates the ldap.xml file and copies it to the outputfile. */
 protected void interpolateLdapXml(String resource, File outputFile) throws IOException {
   try (InputStream in = getClass().getResourceAsStream(resource)) {
     interpolateLdapXml(in, outputFile);
   }
 }