public ResourceRef get(String resourceUri) {
String uri = resourceUri;
while (!uri.isEmpty()) {
ResourceView view = mountPoints.get(uri);
if (null != view) {
return view.viewOf(uri, resourceUri.substring(uri.length()), this);
}
//just take another part
int nextSeparator = uri.lastIndexOf(Uri.PATH_SEPARATOR_CHAR);
uri = uri.substring(0, nextSeparator);
}