File tree Expand file tree Collapse file tree
src/main/java/org/cryptomator/integrations Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11package org .cryptomator .integrations .revealpaths ;
22
3- import org .cryptomator .integrations .common .IntegrationService ;
43import org .cryptomator .integrations .common .IntegrationsLoader ;
54
65import java .nio .file .NoSuchFileException ;
76import java .nio .file .Path ;
8- import java .util .List ;
97import java .util .stream .Stream ;
108
11- public interface RevealPathsService extends IntegrationService {
9+ public interface RevealPathsService {
1210
1311 /**
1412 * Loads all supported service implementations.
@@ -29,4 +27,12 @@ static Stream<RevealPathsService> get() {
2927 //TODO: Throw IllegalArgumenException if p.getParent() == null?
3028 void reveal (Path p ) throws RevealFailedException , NoSuchFileException ;
3129
30+ /**
31+ * Indicates, if this provider can be used.
32+ *
33+ * @return true, if this provider is supported in the current OS environment
34+ * @implSpec This check needs to return fast and in constant time
35+ */
36+ boolean isSupported ();
37+
3238}
You can’t perform that action at this time.
0 commit comments