org.eclipse.emf.ecore.resource.impl
Class PlatformResourceURIHandlerImpl.PlatformResourceOutputStream
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl.PlatformResourceOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Direct Known Subclasses:
- URIConverterImpl.PlatformResourceOutputStream
- Enclosing class:
- PlatformResourceURIHandlerImpl
public static class PlatformResourceURIHandlerImpl.PlatformResourceOutputStream
- extends java.io.ByteArrayOutputStream
An output stream that transfers its contents to an IFile
upon closing.
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
Methods inherited from class java.io.ByteArrayOutputStream |
reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
file
protected IFile file
force
protected boolean force
keepHistory
protected boolean keepHistory
progressMonitor
protected IProgressMonitor progressMonitor
previouslyFlushed
protected boolean previouslyFlushed
PlatformResourceURIHandlerImpl.PlatformResourceOutputStream
public PlatformResourceURIHandlerImpl.PlatformResourceOutputStream(IFile file,
boolean force,
boolean keepHistory,
IProgressMonitor progressMonitor)
createContainer
protected void createContainer(IContainer container)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.ByteArrayOutputStream
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStream
- Throws:
java.io.IOException