drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/utils/webdav/WebDavClient.java
public IResponse getResourceInputStream(String resource) throws Exception {
        ILocator locator = WebDAVFactory.locatorFactory.newLocator(resource);
        IResponse response = client.get(locator, createContext());
        if (response.getStatusCode() != IResponse.SC_OK) {
            throw new WebDavException(response);
        }
        return response;
    }
public IResponse getResourceInputStream(String resource) throws Exception {
        ILocator locator = WebDAVFactory.locatorFactory.newLocator(resource);
        IResponse response = client.get(locator, createContext());
        if (response.getStatusCode() != IResponse.SC_OK) {
            throw new WebDavException(response);
        }
        return response;
    }
public IResponse getResourceInputStream ( String resource ) throws Exception { ILocator locator = WebDAVFactory . locatorFactory . newLocator ( resource ) ; IResponse response = client . get ( locator , createContext ( ) ) ; if ( response . getStatusCode ( ) != IResponse . SC_OK ) { throw new WebDavException ( response ) ; } return response ; }
/*
(non-Javadoc)
@see org.guvnor.tools.utils.webdav.IWebDavClient#getInputStream(java.lang.String)
/ * ( non - Javadoc )