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

A

addStreamMonitor(StreamMonitor) - Method in class org.ops4j.monitors.stream.StreamMonitorRouter
Add a monitor to the list of monitors managed by this router.
AllCertificatesTrustManager - Class in org.ops4j.net
A trust manager that will accept any certificate.
AllCertificatesTrustManager() - Constructor for class org.ops4j.net.AllCertificatesTrustManager
 
anonymousStore() - Static method in class org.ops4j.store.StoreFactory
If the store must be unique, here is it.
append(String[]) - Method in class org.ops4j.exec.CommandLineBuilder
Appends an array of strings to command line.
append(String) - Method in class org.ops4j.exec.CommandLineBuilder
Appends a string to command line.
append(String, String) - Method in class org.ops4j.util.collections.PropertiesWriter
Appends a property to be written.
append(String) - Method in class org.ops4j.util.collections.PropertiesWriter
Appends a comment to be written.
append() - Method in class org.ops4j.util.collections.PropertiesWriter
Appends an empty line
appendRaw(String) - Method in class org.ops4j.util.collections.PropertiesWriter
Appends a raw value = will be exactely as recived.

B

Base64Encoder - Class in org.ops4j.net
Bease64 encoding utilities.

C

checkClientTrusted(X509Certificate[], String) - Method in class org.ops4j.net.AllCertificatesTrustManager
Null implementation.
checkServerTrusted(X509Certificate[], String) - Method in class org.ops4j.net.AllCertificatesTrustManager
Null implementation.
clearResourceCache() - Static method in class org.ops4j.util.i18n.ResourceManager
Clear the cache of all resources currently loaded into the system.
CommandLineBuilder - Class in org.ops4j.exec
Provides easy building of command line for a java runtime.
CommandLineBuilder() - Constructor for class org.ops4j.exec.CommandLineBuilder
Creates a new command line builder.
compareStreams(InputStream, InputStream) - Static method in class org.ops4j.io.StreamUtils
Compares if two streams are identical in their contents.
ConnectionCache - Class in org.ops4j.net
This class is to be used to cache URLConnections.
contains(String) - Method in class org.ops4j.util.property.PropertyStore
Returns true if the the property was set.
copyFile(File, File, StreamMonitor) - Static method in class org.ops4j.io.FileUtils
Copies a file.
copyFileEntry(String, ZipFile, ZipEntry) - Method in class org.ops4j.io.ZipExploder
Deprecated.
copyFileEntry(File, ZipFile, ZipEntry) - Method in class org.ops4j.io.ZipExploder
copy a single entry from the archive
copyFileEntry(File, boolean, String, InputStream) - Method in class org.ops4j.io.ZipExploder
 
copyReaderToStream(Reader, OutputStream, String, boolean) - Static method in class org.ops4j.io.StreamUtils
Copies the content of the Reader to the provided OutputStream using the provided encoding.
copyReaderToWriter(Reader, Writer, boolean) - Static method in class org.ops4j.io.StreamUtils
Copies the Reader to the Writer.
copyStream(InputStream, OutputStream, boolean) - Static method in class org.ops4j.io.StreamUtils
Copy a stream.
copyStream(StreamMonitor, URL, int, InputStream, OutputStream, boolean) - Static method in class org.ops4j.io.StreamUtils
Copy a stream.
copyStreamToWriter(InputStream, Writer, String, boolean) - Static method in class org.ops4j.io.StreamUtils
Copies an InputStream to a Writer.

D

decode(String) - Static method in class org.ops4j.net.Base64Encoder
Decodes a base 64 String into a String.
decode(byte[]) - Static method in class org.ops4j.net.Base64Encoder
Dencodes a com.sun.syndication.io.impl.Base64 byte array.
decode(String) - Static method in class org.ops4j.net.URLUtils
Decodes the specified (portion of a) URL.
DefaultJavaRunner - Class in org.ops4j.exec
Default Java Runner.
DefaultJavaRunner() - Constructor for class org.ops4j.exec.DefaultJavaRunner
Constructor.
DefaultJavaRunner(boolean) - Constructor for class org.ops4j.exec.DefaultJavaRunner
Constructor.
defaultStore() - Static method in class org.ops4j.store.StoreFactory
Get a default store instance.
delete(File) - Static method in class org.ops4j.io.FileUtils
Deletes the file or recursively deletes a directory depending on the file passed.
DictionaryPropertyResolver - Class in org.ops4j.util.property
Resolves properties from a Dictionary.
DictionaryPropertyResolver(Dictionary) - Constructor for class org.ops4j.util.property.DictionaryPropertyResolver
Creates a property resolver without a fallback resolver.
DictionaryPropertyResolver(Dictionary, PropertyResolver) - Constructor for class org.ops4j.util.property.DictionaryPropertyResolver
Creates a property resolver with a fallback resolver.
DirectoryLister - Class in org.ops4j.io
Implementation of lister that list content of a system file directory.
DirectoryLister(File, Pattern) - Constructor for class org.ops4j.io.DirectoryLister
Creates a new directory lister.
DirectoryLister(File, Pattern[], Pattern[]) - Constructor for class org.ops4j.io.DirectoryLister
Creates a new directory lister.

E

ElementHelper - Class in org.ops4j.util.xml
Utility class supporting the XML document parsing.
encode(String) - Static method in class org.ops4j.net.Base64Encoder
Encodes a String into a base 64 String.
encode(byte[]) - Static method in class org.ops4j.net.Base64Encoder
Encodes a byte array into a base 64 byte array.
Environment - Class in org.ops4j.util.environment
Encapsulates operating system and shell specific access to environment variables.
Environment() - Constructor for class org.ops4j.util.environment.Environment
Creates a snapshot of the current shell environment variables for a user.
EnvironmentException - Exception in org.ops4j.util.environment
A simple wrapper exception around exceptions that could occur while accessing environment parameters.
exception(ExceptionSource, Throwable) - Method in interface org.ops4j.monitors.exception.ExceptionMonitor
This method is called when an Exception or Throwable occurs.
exception(ExceptionSource, Throwable) - Method in class org.ops4j.monitors.exception.ExceptionMonitorRouter
This method is called when an Exception or Throwable occurs.
ExceptionMonitor - Interface in org.ops4j.monitors.exception
A monitor of a Exceptions occuring.
ExceptionMonitorRouter - Class in org.ops4j.monitors.exception
A monitor of a Exceptions occuring, and capability to route/delegate these events to 0..n registered ExceptionMonitor implementations.
ExceptionMonitorRouter() - Constructor for class org.ops4j.monitors.exception.ExceptionMonitorRouter
Creation of a exception monitor router.
ExceptionSource - Interface in org.ops4j.monitors.exception
An interface for classes that supports ExceptionMonitors.
exec(String[], String[], String, String[], String, File) - Method in class org.ops4j.exec.DefaultJavaRunner
 
exec(String[], String[], String, String[], String, File, String[]) - Method in class org.ops4j.exec.DefaultJavaRunner
Starts the selected Java program, up to service implementation whether it waits for it to exit.
exec(String[], String[], String, String[], String, File, String[]) - Method in interface org.ops4j.exec.JavaRunner
Starts the selected Java program, up to service implementation whether it waits for it to exit.
exec(String[], String[], String, String[], String, File) - Method in interface org.ops4j.exec.JavaRunner
Starts the selected Java program, up to service implementation whether it waits for it to exit.
ExecutionException - Exception in org.ops4j.exec
Thrown to indicate an exception during running of the platform.
ExecutionException() - Constructor for exception org.ops4j.exec.ExecutionException
 
ExecutionException(String) - Constructor for exception org.ops4j.exec.ExecutionException
 
ExecutionException(String, Throwable) - Constructor for exception org.ops4j.exec.ExecutionException
 
ExecutionException(Throwable) - Constructor for exception org.ops4j.exec.ExecutionException
 

F

FallbackPropertyResolver - Class in org.ops4j.util.property
Resolves properties by first looking at itself and then to a falback resolver.
FallbackPropertyResolver(PropertyResolver) - Constructor for class org.ops4j.util.property.FallbackPropertyResolver
Creates a property resolver with a fallback resolver.
FileUtils - Class in org.ops4j.io
Utility methods for manipulation of Files.
findAnyServiceProvider(Class<T>) - Static method in class org.ops4j.spi.ServiceProviderFinder
Finds any provider for a given service.
findProperty(String) - Method in class org.ops4j.util.property.DictionaryPropertyResolver
Resolves a property based on it's name .
findProperty(String) - Method in class org.ops4j.util.property.FallbackPropertyResolver
Resolves a property by name.
findProperty(String) - Method in class org.ops4j.util.property.PropertiesPropertyResolver
Resolves a property based on it's name .
findServiceProviders(Class<T>) - Static method in class org.ops4j.spi.ServiceProviderFinder
Finds all providers for a given service.
format(String, Object[]) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
FreePort - Class in org.ops4j.net
Find a not-taken port on localhost.
FreePort(int, int) - Constructor for class org.ops4j.net.FreePort
 

G

get(Object) - Method in class org.ops4j.net.ConnectionCache
Returns the URLConnection associated with the given key.
get(String) - Method in class org.ops4j.util.property.FallbackPropertyResolver
Resolves a property based on its name by first calling the findProperty() and then fallback to falback resolver if property value is null.
get(String) - Method in interface org.ops4j.util.property.PropertyResolver
Resolves a property based on it's name.
get(String) - Method in class org.ops4j.util.property.PropertyStore
Returns the property by name.
getAcceptedIssuers() - Method in class org.ops4j.net.AllCertificatesTrustManager
Null implementation.
getAttribute(Element, String) - Static method in class org.ops4j.util.xml.ElementHelper
Return the value of an element attribute.
getAttribute(Element, String, String) - Static method in class org.ops4j.util.xml.ElementHelper
Return the value of an element attribute.
getBaseResources(String) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource with specified basename.
getBaseResources(String, ClassLoader) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource with specified basename.
getBaseResources(String, Locale, ClassLoader) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource with specified basename.
getBoolean(String, boolean) - Method in class org.ops4j.util.i18n.Resources
Retrieve a boolean from bundle.
getBoolean(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a boolean from bundle.
getBundle() - Method in class org.ops4j.util.i18n.Resources
Retrieve underlying ResourceBundle.
getByte(String, byte) - Method in class org.ops4j.util.i18n.Resources
Retrieve a byte from bundle.
getByte(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a byte from bundle.
getCause() - Method in exception org.ops4j.util.environment.EnvironmentException
Return the causal exception.
getChar(String, char) - Method in class org.ops4j.util.i18n.Resources
Retrieve a char from bundle.
getChar(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a char from bundle.
getChild(Element, String) - Static method in class org.ops4j.util.xml.ElementHelper
Return a named child relative to a supplied element.
getChildElements(Element) - Static method in class org.ops4j.util.xml.XmlUtils
 
getChildren(Element, String) - Static method in class org.ops4j.util.xml.ElementHelper
Return all children matching the supplied element name.
getChildren(Element) - Static method in class org.ops4j.util.xml.ElementHelper
Return all children of the supplied parent.
getClassResources(Class) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource for specified Class.
getClassResources(Class, Locale) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource for specified Class.
getClassResourcesBaseName(Class) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource basename for specified Class.
getDataDirectory(String) - Static method in class org.ops4j.util.environment.Environment
Returns the Data directory of the application for the logged in user.
getDate(String, Date) - Method in class org.ops4j.util.i18n.Resources
Retrieve a date from bundle.
getDate(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a date from bundle.
getDateTime(String, Date) - Method in class org.ops4j.util.i18n.Resources
Retrieve a time from bundle.
getDateTime(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a date + time from bundle.
getDouble(String, double) - Method in class org.ops4j.util.i18n.Resources
Retrieve a double from bundle.
getDouble(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a double from bundle.
getElement(Document, String) - Static method in class org.ops4j.util.xml.XmlUtils
 
getElement(Element, String) - Static method in class org.ops4j.util.xml.XmlUtils
 
getElements(Document, String) - Static method in class org.ops4j.util.xml.XmlUtils
 
getElements(Element, String) - Static method in class org.ops4j.util.xml.XmlUtils
 
getEntries(ZipFile) - Method in class org.ops4j.io.ZipExploder
Get all the entries in a ZIP file.
getEnvVariable(String) - Static method in class org.ops4j.util.environment.Environment
Gets the value of a shell environment variable.
getEnvVariables() - Static method in class org.ops4j.util.environment.Environment
Gets all environment variables within a Properties instance where the key is the environment variable name and value is the value of the property.
getExceptionMonitors() - Method in class org.ops4j.monitors.exception.ExceptionMonitorRouter
Returns all ExceptionMonitors that are registered.
getExceptionMonitors() - Method in interface org.ops4j.monitors.exception.ExceptionSource
Returns all ExceptionMonitors that are registered.
getExceptionMonitors() - Method in class org.ops4j.net.ConnectionCache
Returns all ExceptionMonitors that are registered.
getExceptionSource() - Method in exception org.ops4j.monitors.TooManyMonitorsException
Returns the ExceptionSource that can't deal with too many ExceptionMonitors.
getFileFromClasspath(String) - Static method in class org.ops4j.io.FileUtils
Searches the classpath for the file denoted by the file path and returns the corresponding file.
getFloat(String, float) - Method in class org.ops4j.util.i18n.Resources
Retrieve a float from bundle.
getFloat(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a float from bundle.
getIdentification() - Method in interface org.ops4j.store.Handle
 
getInstance() - Static method in class org.ops4j.net.ConnectionCache
Returns the singleton instance.
getInteger(String, int) - Method in class org.ops4j.util.i18n.Resources
Retrieve a integer from bundle.
getInteger(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a integer from bundle.
getLocation(Handle) - Method in class org.ops4j.store.intern.TemporaryStore
 
getLocation(Handle) - Method in interface org.ops4j.store.Store
Fixed location for a resource that has been stored before.
getLong(String, long) - Method in class org.ops4j.util.i18n.Resources
Retrieve a long from bundle.
getLong(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a long from bundle.
getMaxMonitorsAllowed() - Method in exception org.ops4j.monitors.TooManyMonitorsException
Returns he maximum number of monitors that can be registered at the ExceptionSource.
getMessage() - Method in exception org.ops4j.util.environment.EnvironmentException
Prepends variable name to the base message.
getMimeType(String) - Static method in class org.ops4j.util.mime.MimeTypeHandler
Return the mimetype given a artifact type.
getMimeTypesSize() - Static method in class org.ops4j.util.mime.MimeTypeHandler
Returns the number of MimeTypes that has been defined.
getMonitor(int) - Method in class org.ops4j.monitors.exception.ExceptionMonitorRouter
Returns the ExceptionMonitor at a particular index.
getMonitor(int) - Method in class org.ops4j.monitors.stream.StreamMonitorRouter
Returns a Monitor.
getPackageResources(Class) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource for specified Classes package.
getPackageResources(Class, Locale) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource for specified Classes package.
getPackageResourcesBaseName(Class) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource basename for specified Classes package.
getPort() - Method in class org.ops4j.net.FreePort
Finds a free socket upon first calll and returns the same for every next call.
getProperty(Properties, String, String) - Static method in class org.ops4j.util.collections.PropertiesUtils
Return the value of a property.
getResources(String) - Static method in class org.ops4j.util.i18n.ResourceManager
Retrieve resource for specified name.
getRootElement(InputStream) - Static method in class org.ops4j.util.xml.ElementHelper
Return the root element of the supplied input stream.
getShort(String, short) - Method in class org.ops4j.util.i18n.Resources
Retrieve a short from bundle.
getShort(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a short from bundle.
getSortNames() - Method in class org.ops4j.io.ZipExploder
 
getString(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a raw string from bundle.
getString(String, Object) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
getString(String, Object, Object) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
getString(String, Object, Object, Object) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
getString(String, Object, Object, Object, Object) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
getString(String, Object, Object, Object, Object, Object) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
getString(String, Object, Object, Object, Object, Object, Object) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
getString(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.ops4j.util.i18n.Resources
Retrieve a string from resource bundle and format it with specified args.
getSystemDirectory(String) - Static method in class org.ops4j.util.environment.Environment
Returns the System directory of the application for the logged in user.
getTextContent(Node) - Static method in class org.ops4j.util.xml.XmlUtils
 
getTextContentOfElement(Document, String) - Static method in class org.ops4j.util.xml.XmlUtils
 
getTextContentOfElement(Element, String) - Static method in class org.ops4j.util.xml.XmlUtils
 
getTime(String, Date) - Method in class org.ops4j.util.i18n.Resources
Retrieve a time from bundle.
getTime(String) - Method in class org.ops4j.util.i18n.Resources
Retrieve a time from bundle.
getUserShell() - Static method in class org.ops4j.util.environment.Environment
Gets the user's shell executable.
getValue(Element) - Static method in class org.ops4j.util.xml.ElementHelper
Return the value of an element.
getVariable() - Method in exception org.ops4j.util.environment.EnvironmentException
Gets the variable that was to be accessed.
getVerbose() - Method in class org.ops4j.io.ZipExploder
Get the verbose mode state.

H

Handle - Interface in org.ops4j.store
Reference to be used in combination with BinaryStore.
hash(InputStream, OutputStream) - Method in class org.ops4j.store.intern.TemporaryStore
 
HierarchicalIOException - Exception in org.ops4j.io
HierarchicalIOException(String) - Constructor for exception org.ops4j.io.HierarchicalIOException
Constructor.
HierarchicalIOException(String, Throwable) - Constructor for exception org.ops4j.io.HierarchicalIOException
Constructor.
HierarchicalIOException(Throwable) - Constructor for exception org.ops4j.io.HierarchicalIOException
Constructor.

I

isMacOsX() - Static method in class org.ops4j.util.environment.Environment
Checks to see if the operating system is a UNIX variant.
isNetWare() - Static method in class org.ops4j.util.environment.Environment
Checks to see if the operating system is NetWare.
isOpenVMS() - Static method in class org.ops4j.util.environment.Environment
Checks to see if the operating system is OpenVMS.
isUnix() - Static method in class org.ops4j.util.environment.Environment
Checks to see if the operating system is a UNIX variant.
isWindows() - Static method in class org.ops4j.util.environment.Environment
Checks to see if the operating system is a Windows variant.

J

JavaRunner - Interface in org.ops4j.exec
Simple API for an external Java runner service.

L

list() - Method in class org.ops4j.io.DirectoryLister
Returns a list of urls the lister knows about.
list() - Method in interface org.ops4j.io.Lister
Returns a list of urls the lister knows about.
list() - Method in class org.ops4j.io.ZipLister
Returns a list of urls the lister knows about.
Lister - Interface in org.ops4j.io
List urls from different sources.
ListerUtils - Class in org.ops4j.io
Utility methods related to Lister.
load(String) - Method in class org.ops4j.spi.SafeServiceLoader
Returns a list of service instances for the given a service type, finding all META-INF/services resources for the given type and loading and instantiating all classes listed in these resources.
load(Handle) - Method in class org.ops4j.store.intern.TemporaryStore
 
load(Handle) - Method in interface org.ops4j.store.Store
Load a T after (successfully) stored it before.
loadAnyServiceProvider(Class<T>) - Static method in class org.ops4j.spi.ServiceProviderFinder
Returns any provider for a given service and throws an exception when no provider is found on the classpath.
loadUniqueServiceProvider(Class<T>) - Static method in class org.ops4j.spi.ServiceProviderFinder
Returns the unique service provider for a given service and throws an exception if there is no unique provider

M

main(String[]) - Static method in class org.ops4j.io.ZipExploder
Main command line entry point.
main(String[]) - Static method in class org.ops4j.net.Base64Encoder
 
MimeTypeHandler - Class in org.ops4j.util.mime
Mimetype utility hanlder.
MonitorException - Exception in org.ops4j.monitors
MonitorException is used to indicate problems in the Monitor subsystem.
MonitorException(String, Throwable) - Constructor for exception org.ops4j.monitors.MonitorException
Constructor of a MonitorException

N

NonUniqueServiceProviderException - Exception in org.ops4j.spi
An exception thrown when a unique service provider is expected, but more than one provider is found.
NonUniqueServiceProviderException() - Constructor for exception org.ops4j.spi.NonUniqueServiceProviderException
 
NonUniqueServiceProviderException(String) - Constructor for exception org.ops4j.spi.NonUniqueServiceProviderException
 
NonUniqueServiceProviderException(String, Throwable) - Constructor for exception org.ops4j.spi.NonUniqueServiceProviderException
 
NonUniqueServiceProviderException(Throwable) - Constructor for exception org.ops4j.spi.NonUniqueServiceProviderException
 
NoServiceProviderException - Exception in org.ops4j.spi
An exception thrown when no service provider can be found for a given interface.
NoServiceProviderException() - Constructor for exception org.ops4j.spi.NoServiceProviderException
 
NoServiceProviderException(String) - Constructor for exception org.ops4j.spi.NoServiceProviderException
 
NoServiceProviderException(String, Throwable) - Constructor for exception org.ops4j.spi.NoServiceProviderException
 
NoServiceProviderException(Throwable) - Constructor for exception org.ops4j.spi.NoServiceProviderException
 
notifyCompletion(URL) - Method in class org.ops4j.io.PrintStreamMonitor
Notify the monitor of the successful completion of a download process.
notifyCompletion(URL) - Method in interface org.ops4j.monitors.stream.StreamMonitor
Notify the monitor of the successful completion of a download process.
notifyCompletion(URL) - Method in class org.ops4j.monitors.stream.StreamMonitorRouter
Notify all subscribing monitors of a download completion event.
notifyError(URL, String) - Method in class org.ops4j.io.PrintStreamMonitor
Notify the monitor of the an error during the download process.
notifyError(URL, String) - Method in interface org.ops4j.monitors.stream.StreamMonitor
Notify the monitor of the an error during the download process.
notifyError(URL, String) - Method in class org.ops4j.monitors.stream.StreamMonitorRouter
Notify the monitor of the an error during the download process.
notifyUpdate(URL, int, int) - Method in class org.ops4j.io.PrintStreamMonitor
Notify the monitor of the update in the download status.
notifyUpdate(URL, int, int) - Method in interface org.ops4j.monitors.stream.StreamMonitor
Notify the monitor of the update in the download status.
notifyUpdate(URL, int, int) - Method in class org.ops4j.monitors.stream.StreamMonitorRouter
Notify all subscribing monitors of a updated event.
NullArgumentException - Exception in org.ops4j.lang
Exception thrown when the argument to a method or constructor is null and not handled by the method/constructor/class.
NullArgumentException(String) - Constructor for exception org.ops4j.lang.NullArgumentException
Constructor.

O

Ops4jException - Exception in org.ops4j.lang
A base class for unchecked exceptions, to be used as a wrapper for third-party checked exceptions or to be subclassed in other OPS4j projects.
Ops4jException() - Constructor for exception org.ops4j.lang.Ops4jException
 
Ops4jException(String) - Constructor for exception org.ops4j.lang.Ops4jException
 
Ops4jException(String, Throwable) - Constructor for exception org.ops4j.lang.Ops4jException
 
Ops4jException(Throwable) - Constructor for exception org.ops4j.lang.Ops4jException
 
org.ops4j.exec - package org.ops4j.exec
 
org.ops4j.io - package org.ops4j.io
This package contains utilities for I/O operations.
org.ops4j.lang - package org.ops4j.lang
Classes, interfaces and exceptions that we find are missing in the java.lang package is added to this package.
org.ops4j.monitors - package org.ops4j.monitors
Instead of Logging, we use the Monitor concept, which are dedicated interfaces for the monitoring situation at hand.
org.ops4j.monitors.exception - package org.ops4j.monitors.exception
 
org.ops4j.monitors.stream - package org.ops4j.monitors.stream
 
org.ops4j.net - package org.ops4j.net
A package for extensions to the java.net package.
org.ops4j.spi - package org.ops4j.spi
 
org.ops4j.store - package org.ops4j.store
 
org.ops4j.store.intern - package org.ops4j.store.intern
 
org.ops4j.util.collections - package org.ops4j.util.collections
 
org.ops4j.util.environment - package org.ops4j.util.environment
 
org.ops4j.util.i18n - package org.ops4j.util.i18n
Resources supporting internationalization.
org.ops4j.util.mime - package org.ops4j.util.mime
 
org.ops4j.util.property - package org.ops4j.util.property
 
org.ops4j.util.xml - package org.ops4j.util.xml
 
OSNAME - Static variable in class org.ops4j.util.environment.Environment
os.name System property

P

parseDoc(File) - Static method in class org.ops4j.util.xml.XmlUtils
 
parseDoc(InputStream) - Static method in class org.ops4j.util.xml.XmlUtils
 
parseFilter(String) - Static method in class org.ops4j.io.ListerUtils
Parses a usual filter into a regex pattern.
pathNamesToFiles(String...) - Static method in class org.ops4j.io.FileUtils
Constructs an array of File objects from a given String array
Pipe - Class in org.ops4j.io
Pipes asynchronously transfer data between process and system streams.
Pipe(InputStream, OutputStream) - Constructor for class org.ops4j.io.Pipe
Create an incoming pipe, from the external process to us.
Pipe(OutputStream, InputStream) - Constructor for class org.ops4j.io.Pipe
Create an outgoing pipe, from us to the external process.
PostConditionException - Exception in org.ops4j.lang
PostConditionException is used to validate computed results in methods and if not within the supported ranges, throw an appropriate exception describing the problem.
PostConditionException(String) - Constructor for exception org.ops4j.lang.PostConditionException
PostCondition constructor.
PreConditionException - Exception in org.ops4j.lang
PreConditionException is used to validate incoming arguments to methods and if not within the supported ranges, throw an appropriate exception describing the problem.
PreConditionException(String) - Constructor for exception org.ops4j.lang.PreConditionException
PreCondition constructor.
prepareForAuthentication(URLConnection) - Static method in class org.ops4j.net.URLUtils
Prepares an url connection for authentication if necessary.
prepareForSSL(URLConnection) - Static method in class org.ops4j.net.URLUtils
Prepares an url connection for authentication if necessary.
prepareInputStream(URL, boolean) - Static method in class org.ops4j.net.URLUtils
Prepare url for authentication and ssl if necessary and returns the input stream from the url.
print(String) - Method in class org.ops4j.io.ZipExploder
 
printHelp() - Static method in class org.ops4j.io.ZipExploder
Print command help text.
PrintStreamMonitor - Class in org.ops4j.io
PrintStreamMonitor is a convenience implementation of the StreamMonitor for output to a PrintStream, such as System.out.
PrintStreamMonitor(PrintStream) - Constructor for class org.ops4j.io.PrintStreamMonitor
 
process(String[], String[], String) - Method in class org.ops4j.io.ZipExploder
Deprecated.
use ZipExploder.process(File[], File[], File) for a type save variant of this method
process(File[], File[], File) - Method in class org.ops4j.io.ZipExploder
Explode source JAR and/or ZIP files into a target directory
processFile(String, String) - Method in class org.ops4j.io.ZipExploder
Deprecated.
use ZipExploder.processFile(File, File) for a type save variant
processFile(File, File) - Method in class org.ops4j.io.ZipExploder
Explode source ZIP or JAR file into a target directory
processJars(String[], String) - Method in class org.ops4j.io.ZipExploder
Deprecated.
use ZipExploder.processJars(File[], File) for a type save variant
processJars(File[], File) - Method in class org.ops4j.io.ZipExploder
Explode source JAR files into a target directory
processZips(String[], String) - Method in class org.ops4j.io.ZipExploder
Deprecated.
use ZipExploder.processZips(File[], File) for a type save variant
processZips(File[], File) - Method in class org.ops4j.io.ZipExploder
Explode source ZIP files into a target directory
PropertiesPropertyResolver - Class in org.ops4j.util.property
Resolves properties from a Properties.
PropertiesPropertyResolver(Properties) - Constructor for class org.ops4j.util.property.PropertiesPropertyResolver
Creates a property resolver without a fallback resolver.
PropertiesPropertyResolver(Properties, PropertyResolver) - Constructor for class org.ops4j.util.property.PropertiesPropertyResolver
Creates a property resolver with a fallback resolver.
PropertiesUtils - Class in org.ops4j.util.collections
Utility class supporting operations related to property retrival.
PropertiesWriter - Class in org.ops4j.util.collections
Helper for writing properties files.
PropertiesWriter(OutputStream) - Constructor for class org.ops4j.util.collections.PropertiesWriter
Creates a new property writer with default sperator (,).
PropertiesWriter(OutputStream, String) - Constructor for class org.ops4j.util.collections.PropertiesWriter
Creates a new property writer with a custom separator.
PropertyResolver - Class in org.ops4j.util.collections
Utility class that handles substitution of property names in the string for ${value} relative to a supplied set of properties.
PropertyResolver - Interface in org.ops4j.util.property
Properties resolver.
PropertyStore - Class in org.ops4j.util.property
A simple generics based property store.
PropertyStore() - Constructor for class org.ops4j.util.property.PropertyStore
Creates a new configuration map.
put(Object, URLConnection) - Method in class org.ops4j.net.ConnectionCache
Stores a URLConnection in association with a key.

R

readListFile(URL) - Static method in class org.ops4j.util.collections.PropertiesUtils
Read a file and return the list of lines in an array of strings.
readProperties(InputStream, Properties, boolean) - Static method in class org.ops4j.util.collections.PropertiesUtils
Read a set of properties from a property file provided as an Inputstream.
readProps(URL, Properties) - Static method in class org.ops4j.util.collections.PropertiesUtils
Read a set of properties from a property file specificed by a url.
registerExceptionMonitor(ExceptionMonitor) - Method in class org.ops4j.monitors.exception.ExceptionMonitorRouter
Add a monitor to the list of monitors managed by this router.
registerExceptionMonitor(ExceptionMonitor) - Method in interface org.ops4j.monitors.exception.ExceptionSource
Register a ExceptionMonitor with the source.
registerExceptionMonitor(ExceptionMonitor) - Method in class org.ops4j.net.ConnectionCache
Register a ExceptionMonitor with the source.
registerStreamMonitor(StreamMonitor) - Method in interface org.ops4j.monitors.stream.StreamSource
Register a ExceptionMonitor with the source.
removeStreamMonitor(StreamMonitor) - Method in class org.ops4j.monitors.stream.StreamMonitorRouter
Remove a monitor to the list of monitors managed by this router.
reportError(String) - Static method in class org.ops4j.io.ZipExploder
 
resolve(Properties, String) - Static method in class org.ops4j.util.collections.PropertyResolver
Symbol substitution from properties.
resolveProperty(Properties, String) - Static method in class org.ops4j.util.collections.PropertiesUtils
Resolve symbols in a supplied value against supplied known properties.
ResourceManager - Class in org.ops4j.util.i18n
Manager for resources.
Resources - Class in org.ops4j.util.i18n
A class to simplify extracting localized strings, icons and other common resources from a ResourceBundle.
Resources(String) - Constructor for class org.ops4j.util.i18n.Resources
Constructor that builds a manager in default locale.
Resources(String, ClassLoader) - Constructor for class org.ops4j.util.i18n.Resources
Constructor that builds a manager in default locale using specified ClassLoader.
Resources(String, Locale) - Constructor for class org.ops4j.util.i18n.Resources
Constructor that builds a manager in specified locale.
Resources(String, Locale, ClassLoader) - Constructor for class org.ops4j.util.i18n.Resources
Constructor that builds a manager in specified locale.
run() - Method in class org.ops4j.net.ConnectionCache
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

S

SafeServiceLoader - Class in org.ops4j.spi
Loads service provider instances from META-INF/services using a given class loader, avoiding the system class loader used by java.util.ServiceLoader.
SafeServiceLoader(ClassLoader) - Constructor for class org.ops4j.spi.SafeServiceLoader
Constructs a service loader using the given class loader.
ServiceProviderFinder - Class in org.ops4j.spi
Convenience methods for obtaining implementations of a given service via ServiceLoader.
ServiceProviderFinder() - Constructor for class org.ops4j.spi.ServiceProviderFinder
 
set(String, T) - Method in class org.ops4j.util.property.PropertyStore
Sets a property.
setProperties(Dictionary) - Method in class org.ops4j.util.property.DictionaryPropertyResolver
Sets the properties in use.
setProperties(Properties) - Method in class org.ops4j.util.property.PropertiesPropertyResolver
Sets the properties in use.
setSortNames(boolean) - Method in class org.ops4j.io.ZipExploder
 
setVerbose(boolean) - Method in class org.ops4j.io.ZipExploder
set the verbose mode state
sharedLocalStore() - Static method in class org.ops4j.store.StoreFactory
Get a fixed folder on disk as store.
shutdown() - Method in class org.ops4j.exec.DefaultJavaRunner
Stops the started java platform.
shutdown() - Method in interface org.ops4j.exec.StoppableJavaRunner
Stops the started java platform.
size() - Method in class org.ops4j.monitors.exception.ExceptionMonitorRouter
Returns the number of registered ExceptionMonitors.
size() - Method in class org.ops4j.monitors.stream.StreamMonitorRouter
Returns the number of Monitors that are being handled by this router.
sortNames - Variable in class org.ops4j.io.ZipExploder
 
start(String) - Method in class org.ops4j.io.Pipe
Start piping data from input to output.
stop() - Method in class org.ops4j.io.Pipe
Stop piping data from input to output.
StoppableJavaRunner - Interface in org.ops4j.exec
A JavaRunner that can be stopped.
store(InputStream) - Method in class org.ops4j.store.intern.TemporaryStore
 
Store<T> - Interface in org.ops4j.store
Entity Store Style Interface to store and retrieve data of type T.
store(T) - Method in interface org.ops4j.store.Store
Read incoming object of type T (for example an InputSteam)
StoreFactory - Class in org.ops4j.store
Factory to create one or the other type of stores.
StoreFactory() - Constructor for class org.ops4j.store.StoreFactory
 
StreamMonitor - Interface in org.ops4j.monitors.stream
A monitor of a download activity or activities.
StreamMonitorRouter - Class in org.ops4j.monitors.stream
A router that handles multicasr distribution of monitor events to registered monitors.
StreamMonitorRouter() - Constructor for class org.ops4j.monitors.stream.StreamMonitorRouter
Creation of a new network monitor router.
StreamSource - Interface in org.ops4j.monitors.stream
An interface for classes that supports StreamMonitors.
StreamUtils - Class in org.ops4j.io
 

T

TemporaryStore - Class in org.ops4j.store.intern
Entity store like implementation.
TemporaryStore(File, boolean) - Constructor for class org.ops4j.store.intern.TemporaryStore
 
toArray() - Method in class org.ops4j.exec.CommandLineBuilder
Returns the command line.
TooManyMonitorsException - Exception in org.ops4j.monitors
This Exception is thrown when the MonitorSource can not register any more Monitors.
TooManyMonitorsException(ExceptionSource, int) - Constructor for exception org.ops4j.monitors.TooManyMonitorsException
Constructor
toString() - Method in class org.ops4j.net.FreePort
 

U

unregisterExceptionMonitor(ExceptionMonitor) - Method in class org.ops4j.monitors.exception.ExceptionMonitorRouter
Remove a monitor to the list of monitors managed by this router.
unregisterExceptionMonitor(ExceptionMonitor) - Method in interface org.ops4j.monitors.exception.ExceptionSource
Unregister a ExceptionMonitor with the source.
unregisterExceptionMonitor(ExceptionMonitor) - Method in class org.ops4j.net.ConnectionCache
Unregister a ExceptionMonitor with the source.
unregisterStreamMonitor(StreamMonitor) - Method in interface org.ops4j.monitors.stream.StreamSource
Unregister a StreamMonitor with the source.
URLUtils - Class in org.ops4j.net
Url related utility methods.
USERNAME - Static variable in class org.ops4j.util.environment.Environment
user.name System property

V

validateEqualTo(long, long, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value under test is a particular value.
validateEqualTo(double, double, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value under test is a particular value.
validateEqualTo(Number, Number, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value under test is a particular value.
validateEqualTo(long, long, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value under test is a particular value.
validateEqualTo(double, double, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value under test is a particular value.
validateEqualTo(Number, Number, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value under test is a particular value.
validateGreaterThan(long, long, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value is greater than a limit.
validateGreaterThan(double, double, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value is greater than a limit.
validateGreaterThan(Number, Number, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value is greater than a limit.
validateGreaterThan(long, long, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value is greater than a limit.
validateGreaterThan(double, double, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value is greater than a limit.
validateGreaterThan(Number, Number, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value is greater than a limit.
validateLesserThan(long, long, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value is lesser than a limit.
validateLesserThan(double, double, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value is lesser than a limit.
validateLesserThan(Number, Number, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the value is lesser than a limit.
validateLesserThan(long, long, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value is lesser than a limit.
validateLesserThan(double, double, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value is lesser than a limit.
validateLesserThan(Number, Number, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the value is lesser than a limit.
validateNotEmpty(String, String) - Static method in exception org.ops4j.lang.NullArgumentException
Validates that the string is not null and not an empty string without trimming the string.
validateNotEmpty(String, boolean, String) - Static method in exception org.ops4j.lang.NullArgumentException
Validates that the string is not null and not an empty string.
validateNotEmpty(Properties, String) - Static method in exception org.ops4j.lang.NullArgumentException
Validates that the Properties instance is not null and that it has entries.
validateNotEmpty(Object[], String) - Static method in exception org.ops4j.lang.NullArgumentException
Validates that the array instance is not null and that it has entries.
validateNotEmptyContent(String[], String) - Static method in exception org.ops4j.lang.NullArgumentException
Validates that the string array instance is not null and that it has entries that are not null or empty eithout trimming the string.
validateNotEmptyContent(String[], boolean, String) - Static method in exception org.ops4j.lang.NullArgumentException
Validates that the string array instance is not null and that it has entries that are not null or empty.
validateNotNull(Object, String) - Static method in exception org.ops4j.lang.NullArgumentException
Validates that the object obj is not null.
validateNotNull(Object, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the object is not null.
validateNotNull(Object, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the object is not null.
validateNull(Object, String) - Static method in exception org.ops4j.lang.PostConditionException
Validates that the object is null.
validateNull(Object, String) - Static method in exception org.ops4j.lang.PreConditionException
Validates that the object is null.
verbose - Variable in class org.ops4j.io.ZipExploder
 

W

waitForExit() - Method in class org.ops4j.exec.DefaultJavaRunner
Wait till the framework process exits.
write() - Method in class org.ops4j.util.collections.PropertiesWriter
Write properties to output stream.

X

XmlUtils - Class in org.ops4j.util.xml
XML related utilities.

Z

ZipExploder - Class in org.ops4j.io
class for exploding jar/zip files onto the file system
ZipExploder() - Constructor for class org.ops4j.io.ZipExploder
create a zip exploder for unpacking .jar/.zip files
ZipExploder(boolean) - Constructor for class org.ops4j.io.ZipExploder
create a zip exploder for unpacking .jar/.zip files onto the file system
ZipExploder(boolean, boolean) - Constructor for class org.ops4j.io.ZipExploder
create a zip exploder for unpacking .jar/.zip files onto the file system
ZipLister - Class in org.ops4j.io
Implementation of lister that list content of a zip file.
ZipLister(URL, Enumeration<? extends ZipEntry>, Pattern) - Constructor for class org.ops4j.io.ZipLister
Creates a zip lister.
ZipLister(URL, Enumeration<? extends ZipEntry>, Pattern[], Pattern[]) - Constructor for class org.ops4j.io.ZipLister
Creates a zip lister.
A B C D E F G H I J L M N O P R S T U V W X Z 
Skip navigation links

Copyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.