asia.redact.bracket.util
Class Base64UrlSafe

java.lang.Object
  extended by asia.redact.bracket.util.Base64UrlSafe

public class Base64UrlSafe
extends Object

Wrapper to provide a type for Base64 url-safe variant Strings.

Author:
Dave

Field Summary
(package private)  String encoded
           
 
Constructor Summary
Base64UrlSafe(byte[] bytes)
           
Base64UrlSafe(String encoded)
           
 
Method Summary
 byte[] decode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

encoded

final String encoded
Constructor Detail

Base64UrlSafe

public Base64UrlSafe(String encoded)

Base64UrlSafe

public Base64UrlSafe(byte[] bytes)
              throws IOException
Throws:
IOException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

decode

public byte[] decode()
              throws IOException
Throws:
IOException


Copyright © 2011-2013 David R. Smith. All Rights Reserved.