Package org.apache.sling.feature.osgi
Class Converters
java.lang.Object
org.apache.sling.feature.osgi.Converters
Utility class to convert Apache Sling features to OSGi feature and vice versa.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Converters
public Converters()
-
-
Method Details
-
convert
Convert an Apache Sling feature into an OSGi feature- Parameters:
feature
- The feature to convert- Returns:
- The OSGi feature or
null
if feature isnull
- Throws:
IOException
- If the conversion fails
-
convert
Convert an OSGi feature into an Apache Sling feature- Parameters:
feature
- The feature to convert- Returns:
- The Apache Sling feature or
null
if feature isnull
- Throws:
IOException
- If the conversion fails
-