java.lang.Object
java.io.OutputStream
com.aoapps.hodgepodge.io.MultiFileOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
A
MultiFileOutputStream
writes to multiple File
s as
if they were one contiguous file.- Author:
- AO Industries, Inc.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMultiFileOutputStream
(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
getFiles
-