Java Char Create toChar(String unicode)

Here you can find the source of toChar(String unicode)

Description

to Char

License

Mozilla Public License

Declaration

public static char toChar(String unicode) 

Method Source Code

//package com.java2s;
/** This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *//*from  w  ww .  j  a  va 2 s.c om*/

public class Main {
    public static char toChar(String unicode) {
        return (char) Integer.parseInt(unicode, 16);
    }
}

Related

  1. toChar(String chars)
  2. toChar(String delimiter)
  3. toChar(String parameter)
  4. toChar(String string)
  5. toChar(String string)
  6. toCharA(byte[] data)
  7. toCharacter(final String value)
  8. toCharacter(final String value)
  9. toCharacter(Object o)