public abstract class RepositorySyncOutputStream extends BufferedOutputStream
buf, countout| Constructor and Description |
|---|
RepositorySyncOutputStream(OutputStream out)
Instantiates a new repository sync output stream.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
cleanup()
Cleanup.
|
void |
close() |
void |
flush() |
protected abstract void |
synchronizeWithRepository()
Synchronize with repository.
|
write, writewritepublic RepositorySyncOutputStream(OutputStream out)
out - the outpublic void flush()
throws IOException
flush in interface Flushableflush in class BufferedOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionprotected abstract void cleanup()
throws IOException
IOException - Signals that an I/O exception has occurred.protected abstract void synchronizeWithRepository()
throws IOException
IOException - Signals that an I/O exception has occurred.Copyright © 2018 Global Crop Diversity Trust. All rights reserved.