List of usage examples for java.nio.file OpenOption toString
public String toString()
From source file:nextflow.fs.dx.DxFileSystemProvider.java
private static void checkAllowedOptions(Set<? extends OpenOption> allowed, OpenOption... options) { if (options == null) return;//from w w w . j a v a 2 s . c om for (OpenOption opt : options) { if (!allowed.contains(opt)) { throw new UnsupportedOperationException(opt.toString() + " options not allowed"); } } }