org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.helper
Class EncodingUtilities
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.helper.EncodingUtilities
public class EncodingUtilities
- extends Object
EncodingUtilities
public EncodingUtilities(String codepage)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getSpace
public byte[] getSpace()
getHeader
public byte[] getHeader()
writeEncodedText
public void writeEncodedText(char[] textString,
OutputStream out)
throws IOException
- Writes encoded text for the current encoding into the output stream.
- Parameters:
textString
- the text that should be written.
- Throws:
IOException
- if an error occures.
writeEncodedText
public void writeEncodedText(String textString,
OutputStream out)
throws IOException
- Writes encoded text for the current encoding into the output stream.
- Parameters:
textString
- the text that should be written.
- Throws:
IOException
- if an error occures.
getEncoding
public String getEncoding()
getEncodingHeader
public byte[] getEncodingHeader()