Matra DTD Parser 0.8b

com.conradroche.matra.util
Class Caster

java.lang.Object
  |
  +--com.conradroche.matra.util.Caster

public class Caster
extends Object

Utility class for Casting an array object from one type to another.

Author:
Conrad Roche

Method Summary
 String[] convertToStringArray(Collection coll)
          Deprecated.  
static Caster getInstance()
          Deprecated. Method to return the single instance of Caster.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Caster getInstance()
Deprecated. 
Method to return the single instance of Caster.
Returns:
The singleton instance.

convertToStringArray

public String[] convertToStringArray(Collection coll)
Deprecated.  

Convert a Collection to a String Array. The assumption is that all the elements of this collection are String.
Parameters:
coll - The collection to be casted.
Returns:
The String[] with the data in the collection.

Matra DTD Parser 0.8b