Top Description Fields Constructors Methods
io.vertx.codegen.format

public Class KebabCase

extends Case
Class Inheritance
Imports
java.util.List, java.util.regex.Pattern

Kebab case, for instance foo-bar.
Author
Julien Viet

Field Summary

Modifier and TypeField and Description
public static final Case
INSTANCE

A CamelCase instance.

private final Pattern

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public List<String>
parse(String
the name to parse
name
)

Overrides io.vertx.codegen.format.Case.parse.

Parse the name argument and returns a list of the name atoms.

Inherited from io.vertx.codegen.format.Case:
splittovars

Field Detail

INSTANCEback to summary
public static final Case INSTANCE

A CamelCase instance.

validatorback to summary
private final Pattern validator

Constructor Detail

KebabCaseback to summary
public KebabCase()

Method Detail

formatback to summary
public String format(Iterable<String> atoms)

Overrides io.vertx.codegen.format.Case.format.

Annotations
@Override
nameback to summary
public String name()

Overrides io.vertx.codegen.format.Case.name.

Annotations
@Override
parseback to summary
public List<String> parse(String name)

Overrides io.vertx.codegen.format.Case.parse.

Doc from io.vertx.codegen.format.Case.parse.

Parse the name argument and returns a list of the name atoms.

Parameters
name:String

the name to parse

Returns:List<String>

the name atoms

Annotations
@Override