public void addObserver(final FileAlterationObserver observer){
  if (observer != null) {
    observers.add(observer);
  }
}

public void addObserver ( final FileAlterationObserver observer ) { if ( observer != null ) { observers . add ( observer ) ; } }
add a file system observer to this monitor .
