Class MultiFileWriter

    • Constructor Detail

      • MultiFileWriter

        public MultiFileWriter​(Resource baseDirectory,
                               String filePrefix,
                               int numberOfFiles)
                        throws IOException
        Instantiates a new Multi file writer.
        Parameters:
        baseDirectory - the base directory which will contain the files
        filePrefix - the file prefix (each file have XXXXX appended on where XX is the file number)
        numberOfFiles - the number of files
        Throws:
        IOException - Something went wrong initializing the files