类 RelaxedNames
- java.lang.Object
- org.springframework.boot.bind.RelaxedNames
public final class RelaxedNames extends Object implements Iterable<String>
Generates relaxed name variations from a given source.
构造器概要
构造器 构造器 说明 RelaxedNames(String name)
Create a newRelaxedNames
instance.
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static RelaxedNames
forCamelCase(String name)
Return aRelaxedNames
for the given source camelCase source name.Iterator<String>
iterator()
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 java.lang.Iterable
forEach, spliterator
构造器详细资料
RelaxedNames
public RelaxedNames(String name)
Create a newRelaxedNames
instance.- 参数:
name
- the source name. For the maximum number of variations specify the name using dashed notation (e.g. my-property-name
方法详细资料
forCamelCase
public static RelaxedNames forCamelCase(String name)
Return aRelaxedNames
for the given source camelCase source name.- 参数:
name
- the source name in camelCase- 返回:
- the relaxed names