public AbstractDao() { // prepares the file strategy to directory File file = new File(BASE_PATH+File.separator+getSpaceName()); // create directory if it doesnt exist if (file.exists()==false) file.mkdirs(); PersistenceStrategy strategy = new FilePersistenceStrategy(file); // creates the list: this.space = new XmlArrayList(strategy); }