Package org.osgi.util.converter
Interface Converter
- 
@ProviderType public interface ConverterThe Converter service is used to start a conversion. The service is obtained from the service registry. The conversion is then completed via the Converting interface that has methods to specify the target type. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Convertingconvert(java.lang.Object obj)Start a conversion for the given object.Functioningfunction()Start defining a function that can perform given conversions.ConverterBuildernewConverterBuilder()Obtain a builder to create a modified converter based on this converter. 
 - 
 
- 
- 
Method Detail
- 
convert
Converting convert(java.lang.Object obj)
Start a conversion for the given object.- Parameters:
 obj- The object that should be converted.- Returns:
 - A 
Convertingobject to complete the conversion. 
 
- 
function
Functioning function()
Start defining a function that can perform given conversions.- Returns:
 - A 
Functioningobject to complete the definition. 
 
- 
newConverterBuilder
ConverterBuilder newConverterBuilder()
Obtain a builder to create a modified converter based on this converter. For more details see theConverterBuilderinterface.- Returns:
 - A new Converter Builder.
 
 
 - 
 
 -