# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors
- Deprecated Enum Constants

- Deprecated Fields
  Field and Description
  net.sf.okapi.common.resource.Property.annotations
  net.sf.okapi.common.resource.Property.NOTE
  net.sf.okapi.common.resource.Property.TRANSNOTE

- Deprecated Methods
  Method and Description
  net.sf.okapi.common.filterwriter.GenericContent.fromFragmentToLetterCoded(TextFragment)
  net.sf.okapi.common.filterwriter.GenericContent.fromLetterCodedToFragment(String, TextFragment, boolean)
  net.sf.okapi.common.resource.Property.getAnnotation(Class)
  net.sf.okapi.common.resource.Property.getAnnotations()
  net.sf.okapi.core.simplifierrules.SimpleCharStream.getColumn()
  net.sf.okapi.core.simplifierrules.JavaCharStream.getColumn()
  net.sf.okapi.core.simplifierrules.SimpleCharStream.getLine()
  net.sf.okapi.core.simplifierrules.JavaCharStream.getLine()
  net.sf.okapi.common.LocaleId.getOriginalLocId() this will go away. Locales are case insensitive.
  net.sf.okapi.common.resource.Property.setAnnotation(IAnnotation)
  net.sf.okapi.lib.segmentation.SRXDocument.setUseJavaRegex(boolean)
  net.sf.okapi.common.LocaleId.splitLanguageCode(String) don't use this. It only "understands" language + region, but that is just a small part of what BCP 47 supports.
  net.sf.okapi.lib.segmentation.SRXDocument.useJavaRegex()

- Deprecated Constructors
  Constructor and Description
  net.sf.okapi.common.LocaleId(String, boolean) normalize is ignored. Use `LocaleId.fromString(String)` to create a LocaleId from a code.

- Deprecated Enum Constants
  Enum Constant and Description
  net.sf.okapi.common.pipeline.annotations.StepParameterType.UI_PARENT The UI parent is now encapsulated in `StepParameterType.EXECUTION_CONTEXT`. Use that instead.