Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.codec.language
Class Caverphone2

    java.lang.Object
      org.apache.commons.codec.language.AbstractCaverphone
          org.apache.commons.codec.language.Caverphone2

All Implemented Interfaces:
  Encoder, StringEncoder

    public class Caverphone2

extends AbstractCaverphone

Encodes a string into a Caverphone 2.0 value. This is an algorithm created by the Caversham Project at the University of Otago. It implements the Caverphone 2.0 algorithm:

Since:
  1.5
Version:
  $Id: Caverphone.java 1075947 2011-03-01 17:56:14Z ggregory $
Author:
  Apache Software Foundation
See Also:
  Wikipedia - Caverphone, Caverphone 2.0 specification

Constructor Summary
`Caverphone2()`

Method Summary
`String` | `encode(String source)` Encodes the given String into a Caverphone 2.0 value.

Methods inherited from class org.apache.commons.codec.language.AbstractCaverphone
`encode, isEncodeEqual`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Caverphone2

    public Caverphone2()

Method Detail

### encode

    public String encode(String source)

  Encodes the given String into a Caverphone 2.0 value.

  Parameters:
    `source` - String the source string
  Returns:
    A caverphone code for the given String

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.