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

org.nakedobjects.metamodel.commons.resource.ResourceStreamSource Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.commons.resource;

import java.io.InputStream;
import java.io.OutputStream;

public interface ResourceStreamSource {
	
	/**
	 * Returns an {@link InputStream} opened for the resource path, or
	 * null otherwise.
	 */
	public InputStream readResource(String resourcePath);
	
	/**
	 * Returns an {@link OutputStream} opened to write to the resource,
	 * or null otherwise.
	 */
	public OutputStream writeResource(String resourcePath);

	public String getName();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy