add java string operation

Signed-off-by: yfcheng <18912964525@163.com>