Class ConcatStep

  • All Implemented Interfaces:
    Step

    public class ConcatStep
    extends Object
    implements Step
    Takes in a list of files and outputs a concatenation of them in the same directory. Used for solid compression into a single .xz. Does NOT delete source files after concatenating.
    • Constructor Detail

      • ConcatStep

        public ConcatStep​(ProjectFilesystem filesystem,
                          com.google.common.collect.ImmutableList<Path> inputs,
                          Path outputPath)
        Use this constructor if the files to concatenate are known at the time of step creation.
        Parameters:
        inputs - The files to be concatenated
        outputPath - The desired output path.
      • ConcatStep

        public ConcatStep​(ProjectFilesystem filesystem,
                          com.google.common.collect.ImmutableList.Builder<Path> inputsBuilder,
                          Path outputPath)
        Use this constructor if the files to concatenate are not known at the time of step creation.
        Parameters:
        inputsBuilder - The files to be concatenated, in builder form
        outputPath - The desired output path.