@Named(value="suffix") public class SuffixFileMapper extends AbstractFileMapper
directory/archive.tar.gz => directory/archivesuffix.tar.gz| Modifier and Type | Field and Description |
|---|---|
static String |
ROLE_HINT
The suffix mappers role-hint: "suffix".
|
| Constructor and Description |
|---|
SuffixFileMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMappedFileName(String pName)
Checks the input and returns it without modifications.
|
String |
getSuffix()
Returns the suffix to add.
|
void |
setSuffix(String suffix)
Sets the suffix to add.
|
public static final String ROLE_HINT
public String getSuffix()
public void setSuffix(String suffix)
@Nonnull public String getMappedFileName(@Nonnull String pName)
AbstractFileMappergetMappedFileName in interface FileMappergetMappedFileName in class AbstractFileMapperpName - The source name.Copyright © 2001–2023 Codehaus Plexus. All rights reserved.