|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.Base64
public class Base64
Static helper class that converts byte arrays from and to BASE64 encoded strings.
Method Summary | |
---|---|
static byte[] |
decode(java.lang.String str)
Decodes a BASE64 encoded String to a byte array. |
static java.lang.String |
encode(byte[] source)
Encodes a byte array into a BASE64 encoded String representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final java.lang.String encode(byte[] source)
source
- The bytes to convert.
public static final byte[] decode(java.lang.String str)
String
to a byte array.
str
- The source string.
str
is null
or has length 0.
{@link
- IllegalArgumentException} if any non convertible characters (except for line breaks and padding symbols)
are found in the input
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |