public class StringFileListStream extends Object
| Constructor and Description |
|---|
StringFileListStream(FileNameGenerator filenames,
long itemPerFile,
boolean compress) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Output strings in the internal buffer to a file,
and then close the stream.
|
void |
write(String s)
Write a string.
|
public StringFileListStream(FileNameGenerator filenames, long itemPerFile, boolean compress)
filenames - specifies a file name generator for files to be written.itemPerFile - specifies the number of strings stored in a single file.compress - option enables to compress the output file in GZip.public void write(String s)
s - is a String.public void close()
Copyright © 2023. All rights reserved.