core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java
changeset 294 652205e6022b
parent 0 fb279309251b
child 355 26cc9825bb33
--- a/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java	Wed Jun 24 08:09:39 2009 -0500
+++ b/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/templatewizard/processes/CopyFiles.java	Wed Jun 24 08:59:46 2009 -0500
@@ -49,6 +49,7 @@
 	protected static final String LOWER_SUFFIX = "$lower"; //$NON-NLS-1$
 	protected static final String TITLE_SUFFIX = "$title"; //$NON-NLS-1$
 	protected static final String TITLELOWER_SUFFIX = "$titlelower"; //$NON-NLS-1$
+	protected static final String C_ESCAPED_SUFFIX = "$c_escaped"; //$NON-NLS-1$
 	protected static final String SOURCE_PATH_ATTRIBUTE = "sourcePath"; //$NON-NLS-1$
 	protected static final String TARGET_PATH_ATTRIBUTE = "targetPath"; //$NON-NLS-1$
 	protected static final String SUBSTITUTE_ATTRIBUTE = "substitute"; //$NON-NLS-1$
@@ -110,6 +111,11 @@
 			public String convert(String value) {
 				return TextUtils.titleCase(value.toLowerCase());
 			}
+		}),
+		new SuffixOperator(C_ESCAPED_SUFFIX, new IConvert() {
+			public String convert(String value) {
+				return TextUtils.escape(value, '\"');
+			}
 		})
 	};