Package org.jivesoftware.smack.provider
Class ProviderFileLoader
- java.lang.Object
-
- org.jivesoftware.smack.provider.ProviderFileLoader
-
- All Implemented Interfaces:
ProviderLoader
public class ProviderFileLoader extends Object implements ProviderLoader
Loads theIQProvider
andExtensionElementProvider
information from a standard provider file in preparation for loading into theProviderManager
.
-
-
Constructor Summary
Constructors Constructor Description ProviderFileLoader(InputStream providerStream)
ProviderFileLoader(InputStream providerStream, ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ExtensionProviderInfo>
getExtensionProviderInfo()
Provides the extension providers for the creation of extension providers to be added to theProviderManager
.Collection<IQProviderInfo>
getIQProviderInfo()
Provides the IQ provider info for the creation of IQ providers to be added to theProviderManager
.List<Exception>
getLoadingExceptions()
Collection<StreamFeatureProviderInfo>
getStreamFeatureProviderInfo()
Provides the stream feature providers information for the creation of stream feature providers to be added to theProviderManager
.
-
-
-
Constructor Detail
-
ProviderFileLoader
public ProviderFileLoader(InputStream providerStream)
-
ProviderFileLoader
public ProviderFileLoader(InputStream providerStream, ClassLoader classLoader)
-
-
Method Detail
-
getIQProviderInfo
public Collection<IQProviderInfo> getIQProviderInfo()
Description copied from interface:ProviderLoader
Provides the IQ provider info for the creation of IQ providers to be added to theProviderManager
.- Specified by:
getIQProviderInfo
in interfaceProviderLoader
- Returns:
- The IQ provider info to load.
-
getExtensionProviderInfo
public Collection<ExtensionProviderInfo> getExtensionProviderInfo()
Description copied from interface:ProviderLoader
Provides the extension providers for the creation of extension providers to be added to theProviderManager
.- Specified by:
getExtensionProviderInfo
in interfaceProviderLoader
- Returns:
- The extension provider info to load.
-
getStreamFeatureProviderInfo
public Collection<StreamFeatureProviderInfo> getStreamFeatureProviderInfo()
Description copied from interface:ProviderLoader
Provides the stream feature providers information for the creation of stream feature providers to be added to theProviderManager
.- Specified by:
getStreamFeatureProviderInfo
in interfaceProviderLoader
- Returns:
- The extension provider info to load.
-
getLoadingExceptions
public List<Exception> getLoadingExceptions()
-
-