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
Fields Modifier and Type Field Description private java.io.OutputStream
outputStream
private boolean
somethingWritten
-
Constructor Summary
Constructors Constructor Description EmptyDetectionOutputStream(java.io.OutputStream outputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
boolean
isSomethingWritten()
void
write(byte[] bytes)
void
write(byte[] bytes, int offset, int length)
void
write(int c)
-
-
-
Method Detail
-
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
-
-