public interface FileOutput extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
add(Buffer buffer)
Writes a byte sequence into the
FileOutput from Buffer . |
void |
close()
Closes the
FileOutput . |
void |
finish()
Finishes the
FileOutput . |
void |
nextFile()
Switches the
FileOutput to process the next file. |
void nextFile()
FileOutput
to process the next file.void add(Buffer buffer)
FileOutput
from Buffer
.buffer
- the Buffer
to writevoid finish()
FileOutput
.void close()
FileOutput
.close
in interface AutoCloseable