A B C D E F G H I J L M N O P R S T U V W Z

A

addExports(String...) - Method in class org.apache.aries.util.FragmentBuilder
 
addFile(String, byte[]) - Method in class org.apache.aries.util.FragmentBuilder
 
addImports(String...) - Method in class org.apache.aries.util.FragmentBuilder
 
addImportsFromExports(Bundle) - Method in class org.apache.aries.util.FragmentBuilder
 
addingBundle(Bundle, BundleEvent) - Method in class org.apache.aries.util.tracker.hook.BundleHookBundleTracker
 
addingBundle(Bundle, BundleEvent) - Method in class org.apache.aries.util.tracker.InternalRecursiveBundleTracker
 
addToCollection(String, Map<String, String>) - Method in interface org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueCollection
Add this Name & Value to the collection.
addToCollection(String, Map<String, String>) - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueList
 
addToCollection(String, Map<String, String>) - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueMap
 
AriesFrameworkUtil - Class in org.apache.aries.util
 
AriesFrameworkUtil() - Constructor for class org.apache.aries.util.AriesFrameworkUtil
 
available() - Method in class org.apache.aries.util.io.RememberingInputStream
 

B

BundleHookBundleTracker<T> - Class in org.apache.aries.util.tracker.hook
The Tracked and AbstractTracked inner classes are copied from felix framework 4.0.1.
BundleHookBundleTracker(BundleContext, int, BundleTrackerCustomizer) - Constructor for class org.apache.aries.util.tracker.hook.BundleHookBundleTracker
 
BundleManifest - Class in org.apache.aries.util.manifest
Entity class to retrieve and represent a bundle manifest (valid or invalid).
BundleManifest(InputStream) - Constructor for class org.apache.aries.util.manifest.BundleManifest
Create a BundleManifest object from the InputStream to the manifest (not to the bundle)
BundleManifest(Manifest) - Constructor for class org.apache.aries.util.manifest.BundleManifest
Create a BundleManifest object from a common Manifest object
BundleTrackerFactory - Class in org.apache.aries.util.tracker
This is the factory for BundleTracker
BundleTrackerFactory() - Constructor for class org.apache.aries.util.tracker.BundleTrackerFactory
 

C

close(Closeable) - Static method in class org.apache.aries.util.io.IOUtils
Close some xStream for good :)
close(ZipFile) - Static method in class org.apache.aries.util.io.IOUtils
A special version of close() for ZipFiles, which don't implement Closeable.
close() - Method in class org.apache.aries.util.io.RememberingInputStream
Noop.
close() - Method in class org.apache.aries.util.tracker.hook.BundleHookBundleTracker
 
close() - Method in class org.apache.aries.util.tracker.RecursiveBundleTracker
Stop the tracking of bundles
close() - Method in class org.apache.aries.util.tracker.SingleServiceTracker
 
closeUnderlying() - Method in class org.apache.aries.util.io.RememberingInputStream
Actually closes the underlying InputStream.
Constants - Class in org.apache.aries.util.manifest
 
Constants() - Constructor for class org.apache.aries.util.manifest.Constants
 
convert() - Method in interface org.apache.aries.util.filesystem.IFile
 
convertNested() - Method in interface org.apache.aries.util.filesystem.IFile
 
copy(InputStream, OutputStream) - Static method in class org.apache.aries.util.io.IOUtils
Copy an InputStream to an OutputStream and close the InputStream afterwards.
copyAndDoNotCloseInputStream(InputStream, OutputStream) - Static method in class org.apache.aries.util.io.IOUtils
Copy an InputStream to an OutputStream and do not close the InputStream afterwards.
createMessageUtil(Class<?>, String) - Static method in class org.apache.aries.util.nls.MessageUtil
Loads the MessageUtil using the given context.
createMessageUtil(String) - Static method in class org.apache.aries.util.nls.MessageUtil
This method uses the Bundle associated with the caller of this method.
createMessageUtil(Bundle, String) - Static method in class org.apache.aries.util.nls.MessageUtil
This method loads the resource bundle backing the MessageUtil from the provided Bundle.
customizedProcessBundle(BundleTrackerCustomizer, Bundle, BundleEvent, boolean) - Method in class org.apache.aries.util.tracker.InternalRecursiveBundleTracker
 

D

deleteRecursive(File) - Static method in class org.apache.aries.util.io.IOUtils
Do rm -rf

E

equals(Object) - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
equals(Object) - Method in class org.apache.aries.util.VersionRange
 

F

FileSystem - Class in org.apache.aries.util.filesystem
An abstraction of a file system.
FileSystem() - Constructor for class org.apache.aries.util.filesystem.FileSystem
 
FileUtils - Class in org.apache.aries.util.filesystem
 
FileUtils() - Constructor for class org.apache.aries.util.filesystem.FileUtils
 
FragmentBuilder - Class in org.apache.aries.util
 
FragmentBuilder(Bundle) - Constructor for class org.apache.aries.util.FragmentBuilder
 
FragmentBuilder(Bundle, String, String) - Constructor for class org.apache.aries.util.FragmentBuilder
 
fromBundle(InputStream) - Static method in class org.apache.aries.util.manifest.BundleManifest
Read a manifest from a jar input stream.
fromBundle(IFile) - Static method in class org.apache.aries.util.manifest.BundleManifest
Retrieve a BundleManifest from the given jar file
fromBundle(File) - Static method in class org.apache.aries.util.manifest.BundleManifest
Retrieve a bundle manifest from the given jar file, which can be exploded or compressed

G

generateFilter(Map<String, String>) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Generate a filter from a set of attributes.
generateFilter(String, String, Map<String, String>) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Generate a filter from a set of attributes.
get() - Method in class org.apache.aries.util.service.registry.ServicePair
 
getAllBundleTracker() - Static method in class org.apache.aries.util.tracker.BundleTrackerFactory
get all bundle tracker registered in this factory
getAttributes() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.GenericMetadata
 
getAttributes() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
getBundlesRecursive(URI) - Static method in class org.apache.aries.util.filesystem.FileUtils
Get a list of urls for the bundles under the parent url
getBundleTrackerList(String) - Static method in class org.apache.aries.util.tracker.BundleTrackerFactory
get bundle tracker based on bundle name and version
getBundleTrackerList(String, Version) - Static method in class org.apache.aries.util.tracker.BundleTrackerFactory
get bundle tracker based on composite bundle's symbolicName and version
getCause() - Method in exception org.apache.aries.util.IORuntimeException
 
getClassLoader(Bundle) - Static method in class org.apache.aries.util.AriesFrameworkUtil
This method attempts to get the classloader for a bundle.
getClassLoaderForced(Bundle) - Static method in class org.apache.aries.util.AriesFrameworkUtil
This method attempts to get the classloader for a bundle.
getDirectives() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.GenericMetadata
 
getExactVersion() - Method in class org.apache.aries.util.VersionRange
this method returns the exact version from the versionInfo obj.
getFile(String) - Method in interface org.apache.aries.util.filesystem.IDirectory
Gets the requested file under this directory.
getFragmentBundleName() - Method in class org.apache.aries.util.FragmentBuilder
 
getFragmentSymbolicName() - Method in class org.apache.aries.util.FragmentBuilder
 
getFSRoot(File) - Static method in class org.apache.aries.util.filesystem.FileSystem
This method gets the IDirectory that represents the root of a virtual file system.
getFSRoot(InputStream) - Static method in class org.apache.aries.util.filesystem.FileSystem
This method gets an ICloseableDirectory that represents the root of a virtual file system.
getLastModified() - Method in interface org.apache.aries.util.filesystem.IFile
 
getManifestVersion() - Method in class org.apache.aries.util.manifest.BundleManifest
 
getMaximumVersion() - Method in class org.apache.aries.util.VersionRange
get the maximum version
getMessage(String, Object...) - Method in class org.apache.aries.util.nls.MessageUtil
This method translates the message and puts the inserts into the message before returning it.
getMinimumVersion() - Method in class org.apache.aries.util.VersionRange
get the minimum version
getName() - Method in interface org.apache.aries.util.filesystem.IFile
 
getName() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
getNamespace() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.GenericMetadata
 
getOutputStream(File, String) - Static method in class org.apache.aries.util.io.IOUtils
 
getParent() - Method in interface org.apache.aries.util.filesystem.IFile
 
getRawAttributes() - Method in class org.apache.aries.util.manifest.BundleManifest
 
getRawManifest() - Method in class org.apache.aries.util.manifest.BundleManifest
 
getReference() - Method in class org.apache.aries.util.service.registry.ServicePair
 
getRoot() - Method in interface org.apache.aries.util.filesystem.IFile
 
getService() - Method in class org.apache.aries.util.tracker.SingleServiceTracker
 
getServiceReference() - Method in class org.apache.aries.util.tracker.SingleServiceTracker
 
getSize() - Method in interface org.apache.aries.util.filesystem.IFile
 
getSymbolicName() - Method in class org.apache.aries.util.manifest.BundleManifest
 
getVersion() - Method in class org.apache.aries.util.manifest.BundleManifest
 

H

hashCode() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
hashCode() - Method in class org.apache.aries.util.VersionRange
 

I

ICloseableDirectory - Interface in org.apache.aries.util.filesystem
Implementation of IDirectory that is more efficient for batch operations as it does not due automatic resource management.
IDirectory - Interface in org.apache.aries.util.filesystem
A virtual directory in a file system.
IFile - Interface in org.apache.aries.util.filesystem
A virtual file on the virtual file system.
install(BundleContext) - Method in class org.apache.aries.util.FragmentBuilder
 
InternalRecursiveBundleTracker - Class in org.apache.aries.util.tracker
A BundleTracker which will track bundles in the given context, and also bundles in any child contexts.
InternalRecursiveBundleTracker(BundleContext, int, BundleTrackerCustomizer, boolean) - Constructor for class org.apache.aries.util.tracker.InternalRecursiveBundleTracker
 
intersect(VersionRange) - Method in class org.apache.aries.util.VersionRange
Create a new version range that is the intersection of this and the argument.
IORuntimeException - Exception in org.apache.aries.util
This unchecked exception wraps an IOException.
IORuntimeException(String, IOException) - Constructor for exception org.apache.aries.util.IORuntimeException
 
IORuntimeException(IOException) - Constructor for exception org.apache.aries.util.IORuntimeException
 
IOUtils - Class in org.apache.aries.util.io
 
IOUtils() - Constructor for class org.apache.aries.util.io.IOUtils
 
isBundle(File) - Static method in class org.apache.aries.util.filesystem.FileUtils
Check whether a file is a bundle.
isClosed() - Method in interface org.apache.aries.util.filesystem.ICloseableDirectory
Checks whether the closeable directory has been closed
isDirectory() - Method in interface org.apache.aries.util.filesystem.IFile
 
isExactVersion() - Method in class org.apache.aries.util.VersionRange
check if the versioninfo is the exact version
isFile() - Method in interface org.apache.aries.util.filesystem.IFile
 
isMaximumExclusive() - Method in class org.apache.aries.util.VersionRange
is the maximum version exclusive
isMaximumUnbounded() - Method in class org.apache.aries.util.VersionRange
is the maximum version unbounded
isMinimumExclusive() - Method in class org.apache.aries.util.VersionRange
is the minimum version exclusive
isRoot() - Method in interface org.apache.aries.util.filesystem.IDirectory
 
isValid() - Method in class org.apache.aries.util.manifest.BundleManifest
 
isValid() - Method in class org.apache.aries.util.service.registry.ServicePair
 

J

jarUp(File, File, Manifest) - Static method in class org.apache.aries.util.io.IOUtils
Jar up all the contents of rootDir (recursively) into targetFile and add the manifest

L

listAllFiles() - Method in interface org.apache.aries.util.filesystem.IDirectory
 
listFiles() - Method in interface org.apache.aries.util.filesystem.IDirectory
 
log(int, String) - Method in class org.apache.aries.util.log.Logger
 
log(int, String, Throwable) - Method in class org.apache.aries.util.log.Logger
 
log(ServiceReference, int, String) - Method in class org.apache.aries.util.log.Logger
 
log(ServiceReference, int, String, Throwable) - Method in class org.apache.aries.util.log.Logger
 
Logger - Class in org.apache.aries.util.log
This Logger class represents ServiceTracker for LogService.
Logger(BundleContext) - Constructor for class org.apache.aries.util.log.Logger
Constructs new Logger(ServiceTracker for LogService).

M

MANIFEST_VERSION - Static variable in class org.apache.aries.util.manifest.Constants
 
ManifestHeaderProcessor - Class in org.apache.aries.util.manifest
 
ManifestHeaderProcessor() - Constructor for class org.apache.aries.util.manifest.ManifestHeaderProcessor
 
ManifestHeaderProcessor.GenericMetadata - Class in org.apache.aries.util.manifest
A GenericMetadata is either a Generic Capability or a Generic Requirement
ManifestHeaderProcessor.GenericMetadata(String) - Constructor for class org.apache.aries.util.manifest.ManifestHeaderProcessor.GenericMetadata
 
ManifestHeaderProcessor.NameValueCollection - Interface in org.apache.aries.util.manifest
Intended to provide a standard way to add Name/Value's to aggregations of Name/Value's.
ManifestHeaderProcessor.NameValueList - Class in org.apache.aries.util.manifest
List of Name/Value
ManifestHeaderProcessor.NameValueList() - Constructor for class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueList
 
ManifestHeaderProcessor.NameValueMap - Class in org.apache.aries.util.manifest
Map of Name -> Value.
ManifestHeaderProcessor.NameValueMap() - Constructor for class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueMap
 
ManifestHeaderProcessor.NameValuePair - Class in org.apache.aries.util.manifest
A simple class to associate two types.
ManifestHeaderProcessor.NameValuePair(String, Map<String, String>) - Constructor for class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
ManifestHeaderUtils - Class in org.apache.aries.util
 
ManifestHeaderUtils() - Constructor for class org.apache.aries.util.ManifestHeaderUtils
 
ManifestProcessor - Class in org.apache.aries.util.manifest
This class contains utilities for parsing manifests.
ManifestProcessor() - Constructor for class org.apache.aries.util.manifest.ManifestProcessor
 
mapToManifest(Map<String, String>) - Static method in class org.apache.aries.util.manifest.ManifestProcessor
mapToManifest
mark(int) - Method in class org.apache.aries.util.io.RememberingInputStream
 
markSupported() - Method in class org.apache.aries.util.io.RememberingInputStream
 
matches(Version) - Method in class org.apache.aries.util.VersionRange
This method checks that the provided version matches the desired version.
MessageUtil - Class in org.apache.aries.util.nls
This is a helper class for loading messages for logging and exception messages.
modifiedBundle(Bundle, BundleEvent, Object) - Method in class org.apache.aries.util.tracker.hook.BundleHookBundleTracker
 
modifiedBundle(Bundle, BundleEvent, Object) - Method in class org.apache.aries.util.tracker.InternalRecursiveBundleTracker
 

N

NESTED_FILTER_ATTRIBUTE - Static variable in class org.apache.aries.util.manifest.ManifestHeaderProcessor
 

O

obtainManifestFromAppDir(IDirectory, String) - Static method in class org.apache.aries.util.manifest.ManifestProcessor
Obtain a manifest from an IDirectory.
open() - Method in interface org.apache.aries.util.filesystem.IFile
The input stream returned by this method should always be closed after use.
open() - Method in class org.apache.aries.util.tracker.hook.BundleHookBundleTracker
 
open() - Method in class org.apache.aries.util.tracker.RecursiveBundleTracker
Start tracking bundles that match the bit mask provided at creation time.
open() - Method in class org.apache.aries.util.tracker.SingleServiceTracker
 
org.apache.aries.util - package org.apache.aries.util
 
org.apache.aries.util.filesystem - package org.apache.aries.util.filesystem
 
org.apache.aries.util.io - package org.apache.aries.util.io
 
org.apache.aries.util.log - package org.apache.aries.util.log
 
org.apache.aries.util.manifest - package org.apache.aries.util.manifest
 
org.apache.aries.util.nls - package org.apache.aries.util.nls
 
org.apache.aries.util.service.registry - package org.apache.aries.util.service.registry
 
org.apache.aries.util.tracker - package org.apache.aries.util.tracker
 
org.apache.aries.util.tracker.hook - package org.apache.aries.util.tracker.hook
 

P

parseBundleSymbolicName(String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse a bundle symbolic name.
parseCapabilityString(String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse a generic capability header.
parseExportList(List<String>) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse an export style header in a list.
parseExportString(String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse an export style header.
parseFilter(String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
 
parseImportString(String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse an import style header.
parseManifest(InputStream) - Static method in class org.apache.aries.util.manifest.ManifestProcessor
This method parses the manifest using a custom manifest parsing routine.
parseRequirementString(String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse a generic capability header.
parseVersionRange(String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse a version range..
parseVersionRange(String, boolean) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Parse a version range and indicate if the version is an exact version
parseVersionRange(String) - Static method in class org.apache.aries.util.VersionRange
Parse a version range..
parseVersionRange(String, boolean) - Static method in class org.apache.aries.util.VersionRange
Parse a version range and indicate if the version is an exact version

R

read() - Method in class org.apache.aries.util.io.RememberingInputStream
 
read(byte[]) - Method in class org.apache.aries.util.io.RememberingInputStream
 
read(byte[], int, int) - Method in class org.apache.aries.util.io.RememberingInputStream
 
readManifestIntoMap(Manifest) - Static method in class org.apache.aries.util.manifest.ManifestProcessor
Reads a manifest's main attributes into a String->String map.
RecursiveBundleTracker - Class in org.apache.aries.util.tracker
This class supports the tracking of composite bundles.
RecursiveBundleTracker(BundleContext, int, BundleTrackerCustomizer) - Constructor for class org.apache.aries.util.tracker.RecursiveBundleTracker
Constructor
registerBundleTracker(String, BundleTracker) - Static method in class org.apache.aries.util.tracker.BundleTrackerFactory
register the bundle tracker
RememberingInputStream - Class in org.apache.aries.util.io
This class can be used to buffer an arbitrary amount of content from an input stream and be able to reset to the start.
RememberingInputStream(InputStream) - Constructor for class org.apache.aries.util.io.RememberingInputStream
 
removedBundle(Bundle, BundleEvent, Object) - Method in class org.apache.aries.util.tracker.hook.BundleHookBundleTracker
 
removedBundle(Bundle, BundleEvent, Object) - Method in class org.apache.aries.util.tracker.InternalRecursiveBundleTracker
 
reset() - Method in class org.apache.aries.util.io.RememberingInputStream
 

S

safeUnregisterService(ServiceRegistration) - Static method in class org.apache.aries.util.AriesFrameworkUtil
Safely unregister the supplied ServiceRegistration, for when you don't care about the potential IllegalStateException and don't want it to run wild through your code
serviceFound() - Method in interface org.apache.aries.util.tracker.SingleServiceTracker.SingleServiceListener
 
serviceLost() - Method in interface org.apache.aries.util.tracker.SingleServiceTracker.SingleServiceListener
 
ServicePair<T> - Class in org.apache.aries.util.service.registry
 
ServicePair(BundleContext, ServiceReference) - Constructor for class org.apache.aries.util.service.registry.ServicePair
 
ServicePair(BundleContext, ServiceReference, T) - Constructor for class org.apache.aries.util.service.registry.ServicePair
 
serviceReplaced() - Method in interface org.apache.aries.util.tracker.SingleServiceTracker.SingleServiceListener
 
setAttributes(Map<String, String>) - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
setName(String) - Method in class org.apache.aries.util.FragmentBuilder
 
setName(String) - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
SingleServiceTracker<T> - Class in org.apache.aries.util.tracker
 
SingleServiceTracker(BundleContext, Class<T>, SingleServiceTracker.SingleServiceListener) - Constructor for class org.apache.aries.util.tracker.SingleServiceTracker
 
SingleServiceTracker(BundleContext, Class<T>, String, SingleServiceTracker.SingleServiceListener) - Constructor for class org.apache.aries.util.tracker.SingleServiceTracker
 
SingleServiceTracker.SingleServiceListener - Interface in org.apache.aries.util.tracker
 
skip(long) - Method in class org.apache.aries.util.io.RememberingInputStream
 
split(String, String) - Static method in class org.apache.aries.util.manifest.ManifestHeaderProcessor
Splits a delimiter separated string, tolerating presence of non separator commas within double quoted segments.
split(String, String) - Static method in class org.apache.aries.util.manifest.ManifestProcessor
Splits a delimiter separated string, tolerating presence of non separator commas within double quoted segments.
split(String, String) - Static method in class org.apache.aries.util.ManifestHeaderUtils
Splits a delimiter separated string, tolerating presence of non separator commas within double quoted segments.

T

toCloseable() - Method in interface org.apache.aries.util.filesystem.IDirectory
Open a more effective implementation with user regulated resource management.
toString() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueList
 
toString() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueMap
 
toString() - Method in class org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValuePair
 
toString() - Method in class org.apache.aries.util.VersionRange
 
toURL() - Method in interface org.apache.aries.util.filesystem.IFile
 

U

unget() - Method in class org.apache.aries.util.service.registry.ServicePair
 
unpackZip(IFile, File) - Static method in class org.apache.aries.util.io.IOUtils
Unpack the zip file into the outputDir
unregisterAndCloseBundleTracker(String) - Static method in class org.apache.aries.util.tracker.BundleTrackerFactory
unregister and close the bundle tracker(s) associated with composite bundle's - SymbolicName_Version

V

VersionRange - Class in org.apache.aries.util
 
VersionRange(String) - Constructor for class org.apache.aries.util.VersionRange
 
VersionRange(String, boolean) - Constructor for class org.apache.aries.util.VersionRange
This method should be used to create a version range from a single version string.

W

writeOut(File, String, InputStream) - Static method in class org.apache.aries.util.io.IOUtils
Write the given InputStream to a file given by a root directory (outputDir) and a relative directory.
writeOutAndDontCloseInputStream(File, String, InputStream) - Static method in class org.apache.aries.util.io.IOUtils
Write the given InputStream to a file given by a root directory (outputDir) and a relative directory.

Z

zipUp(File, OutputStream) - Static method in class org.apache.aries.util.io.IOUtils
Zip up all contents of rootDir (recursively) into targetStream
zipUp(File, File) - Static method in class org.apache.aries.util.io.IOUtils
Zip up all contents of rootDir (recursively) into targetFile

A B C D E F G H I J L M N O P R S T U V W Z

Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.