code: public static Resource getResource(PageContext pc, PageSource ps) throws PageException {
  	return ps.getResourceTranslated(pc);
      }
docs: if the pageSource is based on a archive, translate the source to a zip:// Resource
  
  @return return the Resource matching this PageSource
  @param pc the Page Context Object
  @deprecated use instead <code>PageSource.getResourceTranslated(PageContext)</code>