Update AbstractSatin.java

Used java.nio classes