net.sf.tacos.asset
Class AbsoluteAsset

java.lang.Object
  extended by net.sf.tacos.asset.AbsoluteAsset
All Implemented Interfaces:
Locatable, org.apache.tapestry.IAsset

public class AbsoluteAsset
extends Object
implements org.apache.tapestry.IAsset

Decorates an asset in order to generate an absolute url.

Author:
Andreas Andreou

Constructor Summary
AbsoluteAsset(org.apache.tapestry.IAsset asset, org.apache.tapestry.services.AbsoluteURLBuilder absoluteURLBuilder)
           
 
Method Summary
 String buildURL()
           
 Location getLocation()
           
 InputStream getResourceAsStream()
           
 Resource getResourceLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsoluteAsset

public AbsoluteAsset(org.apache.tapestry.IAsset asset,
                     org.apache.tapestry.services.AbsoluteURLBuilder absoluteURLBuilder)
Method Detail

buildURL

public String buildURL()
Specified by:
buildURL in interface org.apache.tapestry.IAsset

getResourceAsStream

public InputStream getResourceAsStream()
Specified by:
getResourceAsStream in interface org.apache.tapestry.IAsset

getResourceLocation

public Resource getResourceLocation()
Specified by:
getResourceLocation in interface org.apache.tapestry.IAsset

getLocation

public Location getLocation()
Specified by:
getLocation in interface Locatable


Copyright © 2005-2008 SourceForge.net. All Rights Reserved.