org.eclipse.emf.ecore.resource
Interface URIConverter.Loadable

Enclosing interface:
URIConverter

public static interface URIConverter.Loadable

An interface that is optionally implemented by the input streams returned from URIConverter.createInputStream(URI) and URIConverter.createInputStream(URI, Map). An input stream implementing this interface is highly unlikely to support read. Instead loadResource should be called.

Since:
2.7

Method Summary
 void loadResource(Resource resource)
          Load the contents of the resource directly from the backing store for which the stream implementing this interface is a facade.
 

Method Detail

loadResource

void loadResource(Resource resource)
                  throws java.io.IOException
Load the contents of the resource directly from the backing store for which the stream implementing this interface is a facade.

Parameters:
resource - the resource to load.
Throws:
java.io.IOException - if there are any problems load the resource from the backing store.

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.