public class FormattedTextEncoder extends Object
Provides methods to convert between HL7 Formatted Text encoding (See Chapter 2.7) and other encoding schemes.
Note that this class is not threadsafe! Always use a new instance (from a factory method) for each invocation.
AbstractTextPrimitive| Modifier and Type | Method and Description |
|---|---|
String |
encode(String theInput)
Convert the input string containing FT encoding strings (\.br\, \.sp XX\,
etc.) into the appropriate output type for this encoder (currently HTML)
|
static FormattedTextEncoder |
getInstanceHtml()
Returns a newly created instance which uses standard HTML encoding.
|
public String encode(String theInput)
theInput - The input stringpublic static FormattedTextEncoder getInstanceHtml()
Copyright © 2001-2012 University Health Network. All Rights Reserved.