# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods

- Deprecated Classes
  Class and Description
  org.apache.commons.text.StrBuilder Deprecated as of 1.3, use `TextStringBuilder` instead. This class will be removed in 2.0.
  org.apache.commons.text.StrLookup Deprecated as of 1.3, use `StringLookupFactory` instead. This class will be removed in 2.0.
  org.apache.commons.text.StrMatcher Deprecated as of 1.3, use `StringMatcherFactory` instead. This class will be removed in 2.0.
  org.apache.commons.text.StrSubstitutor Deprecated as of 1.3, use `StringSubstitutor` instead. This class will be removed in 2.0.
  org.apache.commons.text.StrTokenizer Deprecated as of 1.3, use `StringTokenizer` instead. This class will be removed in 2.0.

- Deprecated Fields
  Field and Description
  org.apache.commons.text.similarity.JaroWinklerDistance.INDEX_NOT_FOUND Deprecated as of 1.7. This constant will be removed in 2.0.

- Deprecated Methods
  Method and Description
  org.apache.commons.text.lookup.StringLookupFactory.base64StringLookup() Use `StringLookupFactory.base64DecoderStringLookup()`.
  org.apache.commons.text.WordUtils.isDelimiter(char, char[]) as of 1.2 and will be removed in 2.0
  org.apache.commons.text.WordUtils.isDelimiter(int, char[]) as of 1.2 and will be removed in 2.0
  org.apache.commons.text.similarity.LongestCommonSubsequence.logestCommonSubsequence(CharSequence, CharSequence) Deprecated as of 1.2 due to a typo in the method name. Use `LongestCommonSubsequence.longestCommonSubsequence(CharSequence, CharSequence)` instead. This method will be removed in 2.0.
  org.apache.commons.text.similarity.JaroWinklerDistance.matches(CharSequence, CharSequence) Deprecated as of 1.7. This method will be removed in 2.0, and moved to a Jaro Winkler similarity class.

Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.