add java doc

by Kim To