Smack

org.jivesoftware.smack.provider
Class UrlProviderFileInitializer

java.lang.Object
  extended by org.jivesoftware.smack.provider.UrlProviderFileInitializer
All Implemented Interfaces:
SmackInitializer
Direct Known Subclasses:
CoreInitializer, ExtensionInitializer, VmArgInitializer

public abstract class UrlProviderFileInitializer
extends java.lang.Object
implements SmackInitializer

Loads the provider file defined by the URL returned by getFilePath(). This file will be loaded on Smack initialization.

Author:
Robin Collier

Constructor Summary
UrlProviderFileInitializer()
           
 
Method Summary
protected  java.lang.ClassLoader getClassLoader()
          Returns an array of class loaders to load resources from.
protected abstract  java.lang.String getFilePath()
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlProviderFileInitializer

public UrlProviderFileInitializer()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface SmackInitializer

getFilePath

protected abstract java.lang.String getFilePath()

getClassLoader

protected java.lang.ClassLoader getClassLoader()
Returns an array of class loaders to load resources from.

Returns:
an array of ClassLoader instances.

Smack

Copyright © 2003-2007 Jive Software.