Tabnine Logo
ResourceProperties$Builder.withPropertyResolver
Code IndexAdd Tabnine to your IDE (free)

How to use
withPropertyResolver
method
in
it.tidalwave.northernwind.core.model.ResourceProperties$Builder

Best Java code snippets using it.tidalwave.northernwind.core.model.ResourceProperties$Builder.withPropertyResolver (Showing top 2 results out of 315)

origin: it.tidalwave.northernwind/it-tidalwave-northernwind-core-default

ResourceProperties properties = modelFactory.createProperties().withPropertyResolver(propertyResolver).build();
origin: it.tidalwave.northernwind.rca/it-tidalwave-northernwind-rca-model

 /*******************************************************************************************************************
  *
  *
  ******************************************************************************************************************/
 @Nonnull
 private ResourceProperties loadProperties()
  throws IOException
  {
   final ResourceFile file = getFile();
   log.debug("loadProperties() for {}", file.getPath().asString());
   ResourceProperties properties = modelFactory.createProperties().withPropertyResolver(propertyResolver).build();
   try
    {
     final ResourceFile propertyFile = file.findChildren().withName("Properties.xml").result(); // FIXME reuse the inheritance helper
 //        log.trace(">>>> reading properties from {} ({})...", propertyFile.getPath().asString(), locale);
     @Cleanup final InputStream is = propertyFile.getInputStream();
     final ResourceProperties tempProperties =
 //            modelFactory.createProperties().build().as(Unmarshallable).unmarshal(is);
         modelFactory.createProperties().withPropertyResolver(propertyResolver).build().as(Unmarshallable).unmarshal(is);
 //        log.trace(">>>>>>>> read properties: {} ({})", tempProperties, locale);
     properties = properties.merged(tempProperties);
    }
   catch (NotFoundException e)
    {
     // ok, no properties
    }
   return properties;
  }
}
it.tidalwave.northernwind.core.modelResourceProperties$BuilderwithPropertyResolver

Popular methods of ResourceProperties$Builder

  • build
  • getId
  • getPropertyResolver
  • getValues
  • withId

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now