You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* RevealPathService provider using the <a href="https://freedesktop.org/wiki/Specifications/file-manager-interface/">DBus freedesktop FileManager1 interface</a> and dbus-send command.
@@ -91,47 +83,29 @@ public boolean isSupported() {
91
83
}
92
84
93
85
/**
94
-
* Parses process stdout to see if dbus-send answer is just an empty node.
95
-
* <p>
96
-
* Some dbus-send implementations return on calling methods on not-existing objects an empty node
97
-
* <pre>
98
-
* <node>
99
-
* </node>
100
-
* </pre>
101
-
* instead of throwing an error.
102
-
* <p>
103
-
* Regarding parsing, see the dbus spec <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">on the introsepction format</a>.
86
+
* Parses process stdout to see if the answer contains "{@value FILEMANAGER1_XML_ELEMENT}".
87
+
* DBus introspection output is defined in the <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">dbus spec</a>.
104
88
*
105
-
* @param dbusChecks List of dbus-send processes with zero-exitcode
106
-
* @return if one dbus-send output contains actual content
89
+
* @param fileManager1Process The already exited process for checking the FileManager1 interface
90
+
* @return {@code true} if the interface is found in the introspection output, otherwise false
107
91
* @throws IOException if the Inputer reader on the process output cannot be created
0 commit comments