Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.common.text
Interface TextEncoder

All Known Implementing Classes:
  FilenameEncoder, Jsr283Encoder, NoOpEncoder, QuoteEncoder, SecureHashTextEncoder, UrlEncoder, XmlNameEncoder, XmlValueEncoder

    @Immutable
    public interface TextEncoder

Interface for components that can encode text. This is the counterpart to `TextDecoder`.

See Also:
  `TextDecoder`

Method Summary
`String` | `encode(String text)` Returns the encoded version of a string.

Method Detail

### encode

    String encode(String text)

  Returns the encoded version of a string.

  Parameters:
    `text` - the text with characters that are to be encoded.
  Returns:
    the text with the characters encoded as required, or null if the supplied text is null
  See Also:
    `TextDecoder.decode(String)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.