org.apache.xml.security.c14n.implementations
Class UtfHelpper

java.lang.Object
  extended by org.apache.xml.security.c14n.implementations.UtfHelpper

public final class UtfHelpper
extends Object


Method Summary
static byte[] getStringInUtf8(String str)
           
static void writeByte(String str, OutputStream out, Map<String,byte[]> cache)
           
static void writeCodePointToUtf8(int c, OutputStream out)
           
static void writeStringToUtf8(String str, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeByte

public static void writeByte(String str,
                             OutputStream out,
                             Map<String,byte[]> cache)
                      throws IOException
Throws:
IOException

writeCodePointToUtf8

public static void writeCodePointToUtf8(int c,
                                        OutputStream out)
                                 throws IOException
Throws:
IOException

writeStringToUtf8

public static void writeStringToUtf8(String str,
                                     OutputStream out)
                              throws IOException
Throws:
IOException

getStringInUtf8

public static byte[] getStringInUtf8(String str)


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.