try {
fileStoreDir = new File(SimalProperties
.getProperty(SimalProperties.PROPERTY_SIMAL_DOAP_FILE_STORE)
+ File.separator + "simal-uploads");
} catch (SimalRepositoryException e) {
throw new SimalRepositoryException(
"Unable to create the filestore for annotated files");
}
if(!fileStoreDir.mkdirs()) {
throw new SimalRepositoryException(
"Unable to create the filestore for annotated files");
}
String path = fileStoreDir.getAbsolutePath();
if (!(filename.endsWith(".rdf") || filename.endsWith(".xml"))) {