net.sourceforge.wurfl.core
Class CustomWURFLHolder

java.lang.Object
  extended by net.sourceforge.wurfl.core.CustomWURFLHolder
All Implemented Interfaces:
WURFLHolder

public class CustomWURFLHolder
extends Object
implements WURFLHolder

Custom WURFLHolder implementation.

It permits to initialize WURFLHolder by path, File or WURFLResource.

Version:
$Id: CustomWURFLHolder.java 432 2010-05-06 12:12:53Z filippo.deluca $
Author:
Fantayeneh Asres Gizaw, Filippo De Luca

Constructor Summary
CustomWURFLHolder(File rootFile)
           
CustomWURFLHolder(File rootFile, File[] patchesFile)
           
CustomWURFLHolder(String rootPath)
           
CustomWURFLHolder(String rootPath, String[] patchesPath)
           
CustomWURFLHolder(WURFLResource root)
           
CustomWURFLHolder(WURFLResource root, WURFLResources patches)
           
 
Method Summary
protected  void createDelegate(WURFLManager manager, WURFLUtils utils)
          Create WURFLHolder delegate from WURFLManager and URFLUtils.
 WURFLManager getWURFLManager()
          Return WURFLManager instance.
 WURFLUtils getWURFLUtils()
          Return WURFLUtils instances.
protected  void init()
          This method build the WURFLManager instance using default implementations of all required interfaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomWURFLHolder

public CustomWURFLHolder(WURFLResource root,
                         WURFLResources patches)

CustomWURFLHolder

public CustomWURFLHolder(WURFLResource root)

CustomWURFLHolder

public CustomWURFLHolder(String rootPath,
                         String[] patchesPath)

CustomWURFLHolder

public CustomWURFLHolder(String rootPath)

CustomWURFLHolder

public CustomWURFLHolder(File rootFile,
                         File[] patchesFile)

CustomWURFLHolder

public CustomWURFLHolder(File rootFile)
Method Detail

init

protected void init()
This method build the WURFLManager instance using default implementations of all required interfaces.


createDelegate

protected void createDelegate(WURFLManager manager,
                              WURFLUtils utils)
Create WURFLHolder delegate from WURFLManager and URFLUtils.

Parameters:
manager - The WURFLManager associated with delegate.
utils - The WURFLUtils associated with delegate.

getWURFLManager

public WURFLManager getWURFLManager()
Description copied from interface: WURFLHolder
Return WURFLManager instance.

Specified by:
getWURFLManager in interface WURFLHolder
Returns:
a WURFLManager instance.

getWURFLUtils

public WURFLUtils getWURFLUtils()
Description copied from interface: WURFLHolder
Return WURFLUtils instances.

Specified by:
getWURFLUtils in interface WURFLHolder
Returns:
A WURFLUtils instance.


Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.