Files downloaded from Internet are marked as 'quarantined' by OS X.
For such files, opening URLs of type file://path#fragment via
Launch Services API
(used internally by
Desktop.browse(URI)
) won't work as expected (fragment will be ignored on file opening).
This class allows to clear quarantine status from folder containing Javadoc, if confirmed by user.
Implementation note: UserDefinedFileAttributeView is not supported on macOS (https://bugs.openjdk.java.net/browse/JDK-8030048),
so the class resorts to JNA.