In my Java class in the OSGi package, I have a page URI -
String pageUri = "/content/site/page.html" ;
How to create a page object using this URL? I basically need to get the page properties also from the object later ...
I tried this code in my class:
PageManager pm = new PageManager(); Page page = pm.getPage(pageUri);
But this gives me a compilation error:
Cannot instantiate the type PageManager
source share