ariba.ui.aribaweb.util
Class AWClasspathResource

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.util.AWResource
          extended by ariba.ui.aribaweb.util.AWClasspathResource
All Implemented Interfaces:
AWObject

public class AWClasspathResource
extends AWResource


Field Summary
 
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber
 
Constructor Summary
AWClasspathResource(java.lang.String resourceName, java.lang.String relativePath, java.net.URL url, AWClasspathResourceDirectory directory)
           
 
Method Summary
 java.lang.String fullUrl()
          Returns the full, absolute URL of this resource as a URL object.
 java.io.InputStream inputStream()
          returns the input stream for this resource.
 long lastModified()
           
 AWResource relativeResource(java.lang.String relativePath, AWResourceManager resourceManager)
          Try to find another resource at location relative to this one
 java.lang.String url()
          returns the url.
 
Methods inherited from class ariba.ui.aribaweb.util.AWResource
canCacheUrl, equals, hasChanged, hashCode, name, object, relativePath, setObject, toString
 
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject
debugString, ensureFieldValuesClear, getFieldValue, init, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AWClasspathResource

public AWClasspathResource(java.lang.String resourceName,
                           java.lang.String relativePath,
                           java.net.URL url,
                           AWClasspathResourceDirectory directory)
Method Detail

url

public java.lang.String url()
Description copied from class: AWResource
returns the url. This might not be the absolute and complete url that can be used to instantiate an java.net.URL object. In the case of local resource, this returns something like "/w/logo.gif".

Specified by:
url in class AWResource

fullUrl

public java.lang.String fullUrl()
Description copied from class: AWResource
Returns the full, absolute URL of this resource as a URL object.

Specified by:
fullUrl in class AWResource

lastModified

public long lastModified()
Specified by:
lastModified in class AWResource

inputStream

public java.io.InputStream inputStream()
Description copied from class: AWResource
returns the input stream for this resource.

Specified by:
inputStream in class AWResource

relativeResource

public AWResource relativeResource(java.lang.String relativePath,
                                   AWResourceManager resourceManager)
Description copied from class: AWResource
Try to find another resource at location relative to this one

Overrides:
relativeResource in class AWResource


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.