org.nakedobjects.metamodel.commons.resource
Interface ResourceStreamSource

All Known Implementing Classes:
ResourceStreamSourceAbstract, ResourceStreamSourceComposite, ResourceStreamSourceContextLoaderClassPath, ResourceStreamSourceCurrentClassClassPath, ResourceStreamSourceFileSystem

public interface ResourceStreamSource


Method Summary
 java.lang.String getName()
           
 java.io.InputStream readResource(java.lang.String resourcePath)
          Returns an InputStream opened for the resource path, or null otherwise.
 java.io.OutputStream writeResource(java.lang.String resourcePath)
          Returns an OutputStream opened to write to the resource, or null otherwise.
 

Method Detail

readResource

java.io.InputStream readResource(java.lang.String resourcePath)
Returns an InputStream opened for the resource path, or null otherwise.


writeResource

java.io.OutputStream writeResource(java.lang.String resourcePath)
Returns an OutputStream opened to write to the resource, or null otherwise.


getName

java.lang.String getName()


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.