Add java nio samples in crazy java.