org.exoplatform.commons.utils
Interface TextEncoder
- All Known Implementing Classes:
- CharsetTextEncoder
public interface TextEncoder
A text encoder that encodes text to an output stream. No assumptions must be made about the
statefullness nature of an encoder as some encoder may be statefull and some encoder may be stateless.
- Version:
- $Revision$
- Author:
- Julien Viet
|
Method Summary |
void |
encode(char[] chars,
int off,
int len,
java.io.OutputStream out)
|
void |
encode(char c,
java.io.OutputStream out)
|
void |
encode(java.lang.String str,
int off,
int len,
java.io.OutputStream out)
|
encode
void encode(char c,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
encode
void encode(char[] chars,
int off,
int len,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
encode
void encode(java.lang.String str,
int off,
int len,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.