/**
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 *
 * Copyright (C)
 * <a href="http://www.inab.org">Spanish National Institute of Bioinformatics (INB)</a>
 * <a href="http://www.bsc.es">Barcelona Supercomputing Center (BSC)</a>
 * <a href="http://inb.bsc.es">Computational Node 6</a>
 */

package org.inb.biomoby.central.cache;

import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.net.URL;

/**
 * An interface that defines where to store a cache
 *
 * @author Dmitry Repchevsky
 */

public interface IMobyCentralCache
{
    public Reader getReader(URL file) throws IOException;
    public Writer getWriter(URL file) throws IOException;
}
