getSVNWCClient().doLock(path, force, comment);
SVNURL[] urls = new SVNURL[path.length]; for (int i = 0; i < urls.length; i++) { urls[i] = SVNURL.parseURIEncoded(path[i]); } getSVNWCClient().doLock(urls, force, comment);
    public void lock(String[] path, String comment, boolean force) throws ClientException {        boolean allFiles = true;        for (int i = 0; i < path.length; i++) {            allFiles = allFiles && !isURL(path[i]);        }        try {            if(allFiles){                File[] files = new File[path.length];                for (int i = 0; i < files.length; i++) {                    files[i] = new File(path[i]).getAbsoluteFile();                }                getSVNWCClient().doLock(files, force, comment);            }else{                getSVNWCClient().doLock(path, force, comment);            }        } catch (SVNException e) {            throwException(e);        }    }