}
}
public void setContent(String xcapUri) throws IOException
{
XcapUri uri = new XcapUri(xcapUri, "/");
String doc = uri.getDocumentSelector().replace(":", "%3A");
File sourceFile = new File("target/test-classes/xcap-root", doc);
if (!sourceFile.exists())
sourceFile = new File("target/test-classes/xcap-root", doc.replace("@", "%40"));
InputStream is = new FileInputStream(sourceFile);
File outputFile = new File("target/test-data", doc.replace("@", "%40"));