Class SvnDiffGenerator.EmptyDetectionOutputStream
java.lang.Object
java.io.OutputStream
org.tmatesoft.svn.core.internal.wc2.ng.SvnDiffGenerator.EmptyDetectionOutputStream
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- SvnDiffGenerator
private class SvnDiffGenerator.EmptyDetectionOutputStream
extends java.io.OutputStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final java.io.OutputStream
private boolean
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
outputStream
private final java.io.OutputStream outputStream -
somethingWritten
private boolean somethingWritten
-
-
Constructor Details
-
EmptyDetectionOutputStream
public EmptyDetectionOutputStream(java.io.OutputStream outputStream)
-
-
Method Details
-
isSomethingWritten
public boolean isSomethingWritten() -
write
public void write(int c) throws java.io.IOException - Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] bytes) throws java.io.IOException - Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] bytes, int offset, int length) throws java.io.IOException - Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Specified by:
flush
in interfacejava.io.Flushable
- Overrides:
flush
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.OutputStream
- Throws:
java.io.IOException
-