de.agilecoders.wicket.webjars.util
Class WebjarsVersion

java.lang.Object
  extended by de.agilecoders.wicket.webjars.util.WebjarsVersion

public final class WebjarsVersion
extends Object

Collects recent versions of webjars resources.

Author:
miha

Method Summary
static String recentVersion(String partialPath)
          returns recent version of given dependency (from internal versions cache)
static String useRecent(String path)
          replaces the version string "current" with the recent available version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

useRecent

public static String useRecent(String path)
replaces the version string "current" with the recent available version

Parameters:
path - the full resource path

recentVersion

public static String recentVersion(String partialPath)
returns recent version of given dependency (from internal versions cache)

Parameters:
partialPath - the path of dependency
Returns:
recent version


Copyright © 2016 agilecoders.de. All Rights Reserved.