|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl.WorkbenchHelper
public static class PlatformResourceURIHandlerImpl.WorkbenchHelper
Isolated Eclipse workbench utilities.
Constructor Summary | |
---|---|
PlatformResourceURIHandlerImpl.WorkbenchHelper()
|
Method Summary | |
---|---|
static java.util.Map<java.lang.String,?> |
attributes(java.lang.String platformResourcePath,
java.util.Map<?,?> options)
|
static java.io.InputStream |
createPlatformResourceInputStream(java.lang.String platformResourcePath,
java.util.Map<?,?> options)
Creates an input stream for the given IFile path. |
static java.io.OutputStream |
createPlatformResourceOutputStream(java.lang.String platformResourcePath,
java.util.Map<?,?> options)
Creates an output stream for the given IFile path. |
static void |
delete(java.lang.String platformResourcePath,
java.util.Map<?,?> options)
|
static boolean |
exists(java.lang.String platformResourcePath,
java.util.Map<?,?> options)
|
static IContentDescription |
getContentDescription(java.lang.String platformResourcePath,
java.util.Map<?,?> options)
|
static void |
updateAttributes(java.lang.String platformResourcePath,
java.util.Map<java.lang.String,?> attributes,
java.util.Map<?,?> options)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlatformResourceURIHandlerImpl.WorkbenchHelper()
Method Detail |
---|
public static java.io.OutputStream createPlatformResourceOutputStream(java.lang.String platformResourcePath, java.util.Map<?,?> options) throws java.io.IOException
IFile
path.
This implementation uses a PlatformResourceURIHandlerImpl.PlatformResourceOutputStream
.
java.io.IOException
- if there is a problem obtaining an open output stream.IContainer.getFile(org.eclipse.core.runtime.IPath)
,
PlatformResourceURIHandlerImpl.PlatformResourceOutputStream
,
IFile.setContents(InputStream, boolean, boolean, IProgressMonitor)
public static java.io.InputStream createPlatformResourceInputStream(java.lang.String platformResourcePath, java.util.Map<?,?> options) throws java.io.IOException
IFile
path.
This implementation uses IFile.getContents
.
java.io.IOException
- if there is a problem obtaining an open input stream.IContainer.getFile(org.eclipse.core.runtime.IPath)
,
IFile.getContents()
public static void delete(java.lang.String platformResourcePath, java.util.Map<?,?> options) throws java.io.IOException
java.io.IOException
public static boolean exists(java.lang.String platformResourcePath, java.util.Map<?,?> options)
public static java.util.Map<java.lang.String,?> attributes(java.lang.String platformResourcePath, java.util.Map<?,?> options)
public static void updateAttributes(java.lang.String platformResourcePath, java.util.Map<java.lang.String,?> attributes, java.util.Map<?,?> options) throws java.io.IOException
java.io.IOException
public static IContentDescription getContentDescription(java.lang.String platformResourcePath, java.util.Map<?,?> options) throws java.io.IOException
java.io.IOException
|
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 |