Class OutputPrefixWithExtension


public class OutputPrefixWithExtension extends CopyFilesNamingWithoutSharedState
Copies files using whatever prefix is assigned to an input by the OutputManager as the file-name, adding the same extension as the source file.

An extension is added, based on whatever extension already exists on the file.

The prefix must be guaranteed to be unique for each file copied. This is not actively checked.

The prefix is usually derived from the name of the input file relative to the input-directory, so behavior is often similar to PreserveName. However, other naming-schemes are also possible e.g. assigning a sequence of numbers to each input.

Author:
Owen Feehan