com.splunk
Class Base64

java.lang.Object
  extended by com.splunk.Base64

public class Base64
extends java.lang.Object

This module is used to turn binary date in to base64 (radix-64) encoding. Its primary use is a utility function to encode the StormService authorization token.


Constructor Summary
Base64()
           
 
Method Summary
static java.lang.String encode(java.lang.String string)
           
static byte[] zeroPad(int length, byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64

public Base64()
Method Detail

zeroPad

public static byte[] zeroPad(int length,
                             byte[] bytes)

encode

public static java.lang.String encode(java.lang.String string)