paFile = new File(getClass().getResource(
"DefaultPattern" + "/" + templete.getName() + "/"
+ templete.getName() + ".pa").toURI());
}
fileOutputStream = new FileOutputStream(paFile);
patternParser.savePa(fileOutputStream, templete);
fileOutputStream.close();
}
} catch (URISyntaxException e) {
e.printStackTrace();
} catch (FileNotFoundException e) {