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