Skip to content
Snippets Groups Projects
Commit 8bc31dac authored by Sara Bertocco's avatar Sara Bertocco
Browse files

getVosPath added

parent 40b4334d
No related branches found
No related tags found
No related merge requests found
Pipeline #1137 passed
......@@ -227,5 +227,13 @@ public class NodeUtils {
return node;
}
public static String getVosPath(Node myNode) {
String nodeUri = myNode.getUri();
return nodeUri.replaceAll("vos://[^/]+", "");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment