java common tools,maybe it's helpful.