add java nio sample