@@ -0,0 +1,2116 @@
+package org.faur.api.loader;%0A%0Aimport org.faur.api.model.IPlace;%0Aimport org.faur.api.model.ITransition;%0A%0A/**%0A * (C) Copyright 2013 Faur Ioan-Aurel.%0A * %3Cp/%3E%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the GNU Lesser General Public License%0A * (LGPL) version 2.1 which accompanies this distribution, and is available at%0A * http://www.gnu.org/licenses/lgpl-2.1.html%0A * %3Cp/%3E%0A * This library is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU%0A * Lesser General Public License for more details.%0A * %3Cp/%3E%0A * Created with IntelliJ IDEA.%0A * User: faur%0A * Date: 10/19/13%0A * Time: 6:41 PM%0A */%0A%0Aimport java.io.File;%0Aimport java.util.List;%0Apublic interface ILoader %7B%0A    /**%0A     * Gets the loaded list with every locations this petri net has.%0A     *%0A     * @return a list of locations contained by petri net.%0A     */%0A    List%3CIPlace%3E getPlaces();%0A%0A    /**%0A     * Gets the loaded list of transitions.%0A     * @return a list of transitions contained by petri net.%0A     */%0A    List%3CITransition%3E getTransitions();%0A%0A    /**%0A     * Sets the location of a .properties file containing the petri network.%0A%0A     * @param petriLocation a reference to the properties file containing the petri network,%0A     */%0A    void setPetriNetLocation(File petriLocation);%0A%0A    /**%0A     * Forces the loading of the petri network.%0A     */%0A    void loadPetriNet();%0A%0A    /**%0A     * Searches the locations with the given name and returns it.%0A     * @param name a unique string for the location you want to be searched.%0A     * @return if the location is found an %3Ccode%3EIPlace%3C/code%3E is returned, null otherwise.%0A     */%0A    IPlace getPlace(String name);%0A%0A    /**%0A     * Searches the transition with the given name and returns it.%0A     * @param name a unique string for the transition you want to be searched.%0A     * @return if the transition is found an %3Ccode%3EITransition%3C/code%3E is returned, null otherwise.%0A     */%0A    ITransition getTransition(String name);%0A%0A%7D%0A

Add loader API.