From 7b157bebf087699c30d98d130b733bb600c6f12b Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Tue, 4 Jan 2005 14:43:33 +0000 Subject: [PATCH] allow propertyset to use typedefs mappers directly git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277272 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/types/PropertySet.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/org/apache/tools/ant/types/PropertySet.java b/src/main/org/apache/tools/ant/types/PropertySet.java index 23fcec50f..0ff134529 100644 --- a/src/main/org/apache/tools/ant/types/PropertySet.java +++ b/src/main/org/apache/tools/ant/types/PropertySet.java @@ -155,6 +155,15 @@ public class PropertySet extends DataType { return _mapper; } + /** + * A nested filenamemapper + * @param fileNameMapper the mapper to add + * @since Ant 1.6.3 + */ + public void add(FileNameMapper fileNameMapper) { + createMapper().add(fileNameMapper); + } + public void setDynamic(boolean dynamic) { assertNotReference(); this.dynamic = dynamic;