All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anodoc.util.storage.IStorage Maven / Gradle / Ivy

The newest version!
package net.anotheria.anodoc.util.storage;

import java.util.Hashtable;

/**
 * Storage interface.
 *
 * @author asamoilich.
 */
public interface IStorage {

    /**
     * Save hashtable.
     *
     * @param toSave   {@link Hashtable}
     * @param filePath file path
     */
    void save(Hashtable toSave, String filePath);

    /**
     * Load hashtable.
     *
     * @param filePath file path
     * @return {@link Hashtable}
     * @throws Exception
     */
    Hashtable load(String filePath) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy