public void move(String collectionPath, String destinationPath, String newName) throws XMLDBException { try { move( XmldbURI.xmldbUriFor(collectionPath), XmldbURI.xmldbUriFor(destinationPath), XmldbURI.xmldbUriFor(newName)); } catch (URISyntaxException e) { throw new XMLDBException(ErrorCodes.INVALID_URI, e); } }
public void copyResource(String resourcePath, String destinationPath, String newName) throws XMLDBException { try { copyResource( XmldbURI.xmldbUriFor(resourcePath), XmldbURI.xmldbUriFor(destinationPath), XmldbURI.xmldbUriFor(newName)); } catch (URISyntaxException e) { throw new XMLDBException(ErrorCodes.INVALID_URI, e); } }
public Collection createCollection(String collName, Date created) throws XMLDBException { try { return createCollection(XmldbURI.xmldbUriFor(collName), created); } catch (URISyntaxException e) { throw new XMLDBException(ErrorCodes.INVALID_URI, e); } }
public void removeCollection(String collName) throws XMLDBException { try { removeCollection(XmldbURI.xmldbUriFor(collName)); } catch (URISyntaxException e) { throw new XMLDBException(ErrorCodes.INVALID_URI, e); } }