Method SubstituteFileTokens(IFileFacts, string)
Substitutes the file keys of Apache Camel's file language (\({file:name}</code>, <code>\){file:name.noext},
\({file:ext}</code>, <code>\){file:parent} and the rest of ) in a pattern of a
consumer option. Keys match ignoring case, as these options always have (${FILE:NAME}).
public static string SubstituteFileTokens(IFileFacts facts, string pattern)
Remarks
Only file keys are substituted. Exchange-level expressions (\({header.*}</code>, <code>\){body}) cannot be used
here: these patterns are resolved before the exchange exists, or while it is being disposed.