java.lang.Object
java.io.OutputStream
com.aoapps.hodgepodge.io.MultiFileOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
A
MultiFileOutputStream writes to multiple Files as
if they were one contiguous file.- Author:
- AO Industries, Inc.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultiFileOutputStream(File parent, String prefix, String suffix) MultiFileOutputStream(File parent, String prefix, String suffix, long fileSize) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
DEFAULT_FILE_SIZE
public static final long DEFAULT_FILE_SIZE- See Also:
-
-
Constructor Details
-
MultiFileOutputStream
-
MultiFileOutputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
getFiles
-
