blob: 5231caff2a6addcddee4ca320db11cc8744c1bd3 [file] [log] [blame]
<!--
/***************************************************************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
***************************************************************************************************************************/
-->
{new} VarResolver.DEFAULT
<p>
{@link oaj.svl.VarResolver#DEFAULT} is a reusable variable resolver with default support for the following variables:
</p>
<ul>
<li><code>$S{key[,default]}</code> - {@link oaj.svl.vars.SystemPropertiesVar}
<li><code>$E{key[,default]}</code> - {@link oaj.svl.vars.EnvVariablesVar}
<li><code>$A{key[,default]}</code> - {@link oaj.svl.vars.ArgsVar}
<li><code>$MF{key[,default]}</code> - {@link oaj.svl.vars.ManifestFileVar}
<li><code>$SW{stringArg,pattern:thenValue[,pattern:thenValue...]}</code> - {@link oaj.svl.vars.SwitchVar}
<li><code>$IF{arg,then[,else]}</code> - {@link oaj.svl.vars.IfVar}
<li><code>$CO{arg[,arg2...]}</code> - {@link oaj.svl.vars.CoalesceVar}
<li><code>$PM{arg,pattern}</code> - {@link oaj.svl.vars.PatternMatchVar}
<li><code>$PR{stringArg,pattern,replace}</code>- {@link oaj.svl.vars.PatternReplaceVar}
<li><code>$PE{arg,pattern,groupIndex}</code> - {@link oaj.svl.vars.PatternExtractVar}
<li><code>$UC{arg}</code> - {@link oaj.svl.vars.UpperCaseVar}
<li><code>$LC{arg}</code> - {@link oaj.svl.vars.LowerCaseVar}
<li><code>$NE{arg}</code> - {@link oaj.svl.vars.NotEmptyVar}
<li><code>$LN{arg[,delimiter]}</code> - {@link oaj.svl.vars.LenVar}
<li><code>$ST{arg,start[,end]}</code> - {@link oaj.svl.vars.SubstringVar}
</ul>