wheel
Class Asset

java.lang.Object
  extended by wheel.Asset

public class Asset
extends java.lang.Object

Asset is something that a html page needs aside from the html-code. Assets are requested separately by the browser. Typically an asset is a css file, a js file or an image.


Nested Class Summary
static class Asset.AssetType
           
 
Constructor Summary
Asset(java.lang.String fileUri, StandaloneComponent owner)
           
Asset(java.lang.String url, java.lang.String fileUri, Asset.AssetType type)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getExpiresQueryString()
           
 java.lang.String getFileUri()
           
 java.lang.String getMedia()
           
 StandaloneComponent getOwner()
           
 java.lang.String getPackagePath()
           
 Asset.AssetType getType()
           
 java.lang.String getUrl()
           
 int hashCode()
           
 void setExpires(int expires)
           
 void setMedia(java.lang.String media)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Asset

public Asset(java.lang.String fileUri,
             StandaloneComponent owner)

Asset

public Asset(java.lang.String url,
             java.lang.String fileUri,
             Asset.AssetType type)
Method Detail

getType

public Asset.AssetType getType()

getFileUri

public java.lang.String getFileUri()

getOwner

public StandaloneComponent getOwner()

setExpires

public void setExpires(int expires)

getUrl

public java.lang.String getUrl()

getExpiresQueryString

public java.lang.String getExpiresQueryString()

getMedia

public java.lang.String getMedia()

setMedia

public void setMedia(java.lang.String media)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getPackagePath

public java.lang.String getPackagePath()


Copyright © 2007-2008. All Rights Reserved.