public abstract class QuoteMetaCharacters extends Object
MetaCharacterMap| Constructor and Description |
|---|
QuoteMetaCharacters(String text,
MetaCharacterMap map)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
emitLiteral(String s)
Downcall method to emit literal text, in which any occurrences of the
metacharacters are quoted.
|
void |
process()
Quote metacharacters in the text.
|
public QuoteMetaCharacters(@Nonnull String text, @Nonnull MetaCharacterMap map)
text - the text in which we want to quote metacharactersmap - the MetaCharacterMappublic void process()
throws IOException
IOExceptionpublic abstract void emitLiteral(String s) throws IOException
s - the literal text to emitIOExceptionCopyright © 2003–2015. All rights reserved.