@Version(value="1.0.8")
See: Description
| Interface | Description |
|---|---|
| Converter |
The Converter service is used to start a conversion.
|
| ConverterBuilder |
A builder to create a new converter with modified behavior based on an
existing converter.
|
| ConverterFunction |
An functional interface with a convert method that is passed the original
object and the target type to perform a custom conversion.
|
| Converting |
This interface is used to specify the target that an object should be
converted to.
|
| Functioning |
This interface is used to specify the target function to perform conversions.
|
| Specifying<T extends Specifying<T>> |
This is the base interface for the
Converting and Functioning
interfaces and defines the common modifiers that can be applied to these. |
| TargetRule |
Interface for custom conversion rules.
|
| Class | Description |
|---|---|
| Converters |
Factory class to obtain the standard converter or a new converter builder.
|
| Rule<F,T> |
A rule implementation that works by capturing the type arguments via
subclassing.
|
| TypeReference<T> |
An object does not carry any runtime information about its generic type.
|
| TypeRule<F,T> |
Rule implementation that works by passing in type arguments rather than
subclassing.
|
| Exception | Description |
|---|---|
| ConversionException |
This Runtime Exception is thrown when an object is requested to be converted
but the conversion cannot be done.
|
Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.
Example import for consumers using the API in this package:
Import-Package: org.osgi.util.converter; version="[1.0,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.util.converter; version="[1.0,1.1)"
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.