org.eclipse.emf.ecore.resource.impl
Class URIConverterImpl.PlatformResourceOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.ByteArrayOutputStream
|
+--org.eclipse.emf.ecore.resource.impl.URIConverterImpl.PlatformResourceOutputStream
- Enclosing class:
- URIConverterImpl
- public static class URIConverterImpl.PlatformResourceOutputStream
- extends java.io.ByteArrayOutputStream
An output stream that transfers its contents to an IFile
upon closing.
Field Summary |
protected org.eclipse.core.resources.IFile |
file
|
protected boolean |
force
|
protected boolean |
keepHistory
|
protected org.eclipse.core.runtime.IProgressMonitor |
progressMonitor
|
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
Method Summary |
void |
close()
|
protected void |
createContainer(org.eclipse.core.resources.IContainer container)
|
Methods inherited from class java.io.ByteArrayOutputStream |
reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
Methods inherited from class java.io.OutputStream |
flush, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
file
protected org.eclipse.core.resources.IFile file
force
protected boolean force
keepHistory
protected boolean keepHistory
progressMonitor
protected org.eclipse.core.runtime.IProgressMonitor progressMonitor
URIConverterImpl.PlatformResourceOutputStream
public URIConverterImpl.PlatformResourceOutputStream(org.eclipse.core.resources.IFile file,
boolean force,
boolean keepHistory,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
createContainer
protected void createContainer(org.eclipse.core.resources.IContainer container)
throws java.io.IOException
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.ByteArrayOutputStream