EXIficient

com.siemens.ct.exi.util.datatype
Class XSDBase64

java.lang.Object
  extended by com.siemens.ct.exi.util.datatype.XSDBase64

public class XSDBase64
extends java.lang.Object

TODO Description

Version:
0.3.20080718
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Method Summary
static char[] encode(byte[] in)
          Encodes a byte array into Base64 format.
 byte[] getBytes()
           
 int getLength()
           
static XSDBase64 newInstance()
           
 void parse(char[] s, int start, int slength)
           
 void parse(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLength

public int getLength()

getBytes

public byte[] getBytes()

newInstance

public static XSDBase64 newInstance()

parse

public void parse(java.lang.String s)
           throws XMLParsingException
Throws:
XMLParsingException

parse

public void parse(char[] s,
                  int start,
                  int slength)
           throws XMLParsingException
Throws:
XMLParsingException

encode

public static char[] encode(byte[] in)
Encodes a byte array into Base64 format. No blanks or line breaks are inserted.

Parameters:
in - an array containing the data bytes to be encoded.
Returns:
A character array with the Base64 encoded data.

EXIficient