Here you can find the source of isAllZenkaku(String str)
public static boolean isAllZenkaku(String str)
//package com.java2s; public class Main { public static boolean isAllZenkaku(String str) { boolean ret = true; if (str != null) { byte[] bytes = str.getBytes(); ret = (bytes.length == str.length() * 2); }/* ww w . j a va 2 s .co m*/ return ret; } }