public SPWebdavClient getWebdavClient() {
return webdavClient;
}
public SPFileChooser getWebFileChooser() {
SPFileChooser fileChooser = null;
try {
fileChooser = SPFileChooser.createWebFileChooser(getWebdavClient(),
pathField.getText());
fileChooser.addFileFilter("XML Files (.xml)");
fileChooser.addFileFilter("DTD Files (.dtd)");
} catch (Exception e) {
e.printStackTrace();
}