예제 #1
0
 private void setInfo() throws IOException {
   if (branding != null && provider != null) {
     setVersion();
     setTitle();
     this.productImage = getBase64(branding.getProductImage());
     this.favicon = getBase64(branding.getFavIcon());
   }
 }
예제 #2
0
 public KmlEndpoint(BrandingPlugin brandingPlugin, CatalogFramework catalogFramework) {
   LOGGER.trace("ENTERING: KML Endpoint Constructor");
   this.branding = brandingPlugin;
   this.framework = catalogFramework;
   templateLoader = new ClassPathTemplateLoader();
   templateLoader.setPrefix("/templates");
   templateLoader.setSuffix(".hbt");
   this.productName = branding.getProductName().split(" ")[0];
   LOGGER.trace("EXITING: KML Endpoint Constructor");
 }
예제 #3
0
 private void setVersion() {
   if (branding != null) {
     version = branding.getProductName();
   }
 }