public static String extractQuery(String uri) {
        if (uri == null) {
            return null;
        }

        return StringHelper.after(uri, "?");
    }
@Test
    public void testExtractQuery() {
        assertNull(URISupport.extractQuery(null));
        assertNull(URISupport.extractQuery(""));
        assertNull(URISupport.extractQuery("file:foo"));
        assertEquals("recursive=true", URISupport.extractQuery("file:foo?recursive=true"));
        assertEquals("recursive=true&delete=true", URISupport.extractQuery("file:foo?recursive=true&delete=true"));
    }