notes for java nio.