com.primix.tapestry.spec
Class AssetSpecification

java.lang.Object
  |
  +--com.primix.tapestry.spec.AssetSpecification

public class AssetSpecification
extends java.lang.Object

Defines an internal, external or private asset.

Version:
$Id: AssetSpecification.java,v 1.5 2001/05/02 14:15:16 hship Exp $
Author:
Howard Ship

Constructor Summary
AssetSpecification(AssetType type, java.lang.String path)
           
 
Method Summary
 java.lang.String getPath()
          Returns the base path for the asset.
 AssetType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetSpecification

public AssetSpecification(AssetType type,
                          java.lang.String path)
Method Detail

getPath

public java.lang.String getPath()
Returns the base path for the asset. This may be interpreted as a URL, relative URL or the path to a resource, depending on the type of asset.

getType

public AssetType getType()