|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.resource.impl.URIConverterImpl.WorkbenchHelper
Isolated Eclipse workbench utilities.
Constructor Summary | |
URIConverterImpl.WorkbenchHelper()
|
Method Summary | |
static InputStream |
createPlatformResourceInputStream(String platformResourcePath)
Creates an input stream for the given IFile path.
|
static OutputStream |
createPlatformResourceOutputStream(String platformResourcePath)
Creates an output stream for the given IFile path.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URIConverterImpl.WorkbenchHelper()
Method Detail |
public static OutputStream createPlatformResourceOutputStream(String platformResourcePath) throws IOException
IFile
path.
This implementation uses a URIConverterImpl.PlatformResourceOutputStream
.
IOException
- if there is a problem obtaining an open output stream.IContainer.getFile(org.eclipse.core.runtime.IPath)
,
URIConverterImpl.PlatformResourceOutputStream
,
IFile.setContents(InputStream, boolean, boolean, IProgressMonitor)
public static InputStream createPlatformResourceInputStream(String platformResourcePath) throws IOException
IFile
path.
This implementation uses IFile.getContents
.
IOException
- if there is a problem obtaining an open input stream.IContainer.getFile(org.eclipse.core.runtime.IPath)
,
IFile.getContents()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |