All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hypertino.inflector.naming.BaseConverter.scala Maven / Gradle / Ivy

package com.hypertino.inflector.naming

trait BaseConverter extends Converter {
  protected def parser: IdentifierParser
  protected def createBuilder(): IdentifierBuilder

  def convert(identifier: String): String = {
    val b = createBuilder()
    parser.parse(identifier, b)
    b.toString()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy