Formatted java.nio.* classes

according to Android style guidelines and removed extra white spaces.

Also, removed the templates from the package.

Change-Id: Ibc96d75c48201987087c87f8ea0c66a495eeb94c
34 files changed