public static OpenFlags fromOptions(OpenOption... options){
  return fromOptions(Arrays.asList(options));
}

public static OpenFlags fromOptions ( OpenOption ... options ) { return fromOptions ( Arrays . asList ( options ) ) ; }
converts the specified options to flags .
