ariba.ui.aribaweb.util
Class AWClasspathResourceDirectory
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.util.AWResourceDirectory
ariba.ui.aribaweb.util.AWClasspathResourceDirectory
- All Implemented Interfaces:
- AWObject
public final class AWClasspathResourceDirectory
- extends AWResourceDirectory
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AWJarPropertiesPath
public static final java.lang.String AWJarPropertiesPath
- See Also:
- Constant Field Values
urlPrefix
public java.lang.String urlPrefix()
- Description copied from class:
AWResourceDirectory
- return the url prefix for all the resources in this directory
- Specified by:
urlPrefix
in class AWResourceDirectory
directoryPath
public java.lang.String directoryPath()
- Description copied from class:
AWResourceDirectory
- return a cannonical directory path that always ends with "/"
- Specified by:
directoryPath
in class AWResourceDirectory
createResource
public AWResource createResource(java.lang.String resourceName,
java.lang.String relativePath)
- Overrides:
createResource
in class AWResourceDirectory
recordResourcePath
public static void recordResourcePath(java.lang.String path,
java.lang.String urlString)
hasResourcesUnderPath
public static boolean hasResourcesUnderPath(java.lang.String directoryPath)
filesWithExtension
public java.lang.String[] filesWithExtension(java.lang.String relativePath,
java.lang.String fileExtension)
- Description copied from class:
AWResourceDirectory
- return list of files with certain file name extension
- Overrides:
filesWithExtension
in class AWResourceDirectory
awJarUrlsByName
public static java.util.Map<java.lang.String,java.net.URL> awJarUrlsByName()
- Returns list of aribaweb-savvy jars (those containing an aribaweb.properties file)
- Returns:
- Map with file name of jar (without extension) as key, and URL to jar as
value
aribawebPropertiesForName
public static java.util.Properties aribawebPropertiesForName(java.lang.String jarName)
referencedAWJarNames
public static java.util.Set<java.lang.String> referencedAWJarNames()
aribawebPropertyValue
public static java.lang.Object aribawebPropertyValue(java.lang.String key)
autoRegisterJarResources
public static void autoRegisterJarResources(AWMultiLocaleResourceManager resourceManager)
- Process all AW jars, registering their resources and running their initializers
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.