Here you can find the source of decode(final CharSequence _text)
Parameter | Description |
---|---|
_text | text to decode |
public static byte[] decode(final CharSequence _text)
//package com.java2s; /*//from ww w . jav a 2 s.co m * This file is part of MxUpdate <http://www.mxupdate.org>. * * MxUpdate is a deployment tool for a PLM platform to handle * administration objects as single update files (configuration item). * * Copyright (C) 2008-2016 The MxUpdate Team - All Rights Reserved * * You may use, distribute and modify MxUpdate under the terms of the * MxUpdate license. You should have received a copy of the MxUpdate * license with this file. If not, please write to <info@mxupdate.org>, * or visit <www.mxupdate.org>. * */ import javax.xml.bind.DatatypeConverter; public class Main { /** * Decodes given {@code _text}. * * @param _text text to decode * @return decoded bytes */ public static byte[] decode(final CharSequence _text) { return DatatypeConverter.parseBase64Binary(_text.toString()); } }