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

Enclosing interface:
URIConverter

public static interface URIConverter.Saveable

An interface that is optionally implemented by the output streams returned from URIConverter.createOutputStream(URI) and URIConverter.createOutputStream(URI, Map). An output stream implementing this interface is highly unlikely to support write. Instead saveResource should be called.

Since:
2.7

Method Summary
 void saveResource(Resource resource)
          Save the contents of the resource directly to the backing store for which the stream implementing this interface is a facade.
 

Method Detail

saveResource

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

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

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