package template
Scala classes that provide for variable substitution within strings,
akin to the Python StringTemplate library. Several syntaxes are
supported.
Type Members
- 
      
      
      
        
      
    
      
        abstract 
        class
      
      
        StringTemplate extends AnyRef
      
      
      
A simple, configurable string template that substitutes variable references within a string.
 - 
      
      
      
        
      
    
      
        final 
        case class
      
      
        SubstitutionException(message: String) extends Exception with Product with Serializable
      
      
      
An exception used to signal substitution errors.
 - 
      
      
      
        
      
    
      
        
        class
      
      
        UnixShellStringTemplate extends StringTemplate
      
      
      
A string template that uses the Unix shell-like syntax
${varname}(or$varname) for variable references.A string template that uses the Unix shell-like syntax
${varname}(or$varname) for variable references. A variable's name may consist of alphanumerics and underscores. To include a literal "$" in a string, escape it with a backslash.For this class, the general form of a variable reference is:
${varname?default}}
The
?defaultsuffix is optional and specifies a default value to be used if the variable has no value.A shorthand form of a variable reference is:
$varname
The default capability is not available in the shorthand form.
 - 
      
      
      
        
      
    
      
        
        class
      
      
        Variable extends AnyRef
      
      
      
Information about a parsed variable name.
 - 
      
      
      
        
      
    
      
        
        class
      
      
        WindowsCmdStringTemplate extends StringTemplate
      
      
      
A string template that uses the cmd Windows.exe syntax
%varname%for variable references.A string template that uses the cmd Windows.exe syntax
%varname%for variable references. A variable's name may consist of alphanumerics and underscores. To include a literal "%" in a string, use two in a row ("%%").