Class AssetLookup.AssetLocation

java.lang.Object
ru.vyarus.guicey.gsp.app.asset.AssetLookup.AssetLocation
Enclosing class:
AssetLookup

public static class AssetLookup.AssetLocation extends Object
Represent resolved asset location: actual classpath path (absolute) and target class loader (where resource found). Object used to cover various situations: only target classpath path required or file itself.
  • Constructor Details

  • Method Details

    • getPath

      public String getPath()
      Returns:
      absolute asset classpath path
    • getLoader

      public ClassLoader getLoader()
      Returns:
      class loader containing asset
    • getUrl

      public URL getUrl()
      Returns:
      url to asset file