示例#1
0
文件: Dir.java 项目: vvs/jruby
 private static byte[] getBytesInUTF8(String s) {
   return RubyEncoding.encodeUTF8(s);
 }
 public static String getHashForString(String str) {
   return getHashForBytes(RubyEncoding.encodeUTF8(str));
 }