cascading.tuple.coerce
Class StringCoerce

java.lang.Object
  extended by cascading.tuple.coerce.Coercions.Coerce<String>
      extended by cascading.tuple.coerce.StringCoerce
All Implemented Interfaces:
CoercibleType<String>, Serializable, Type

public class StringCoerce
extends Coercions.Coerce<String>

See Also:
Serialized Form

Constructor Summary
StringCoerce(Map<Type,Coercions.Coerce> coercions)
           
 
Method Summary
 String coerce(Object value)
           
 Class<String> getCanonicalType()
           
 
Methods inherited from class cascading.tuple.coerce.Coercions.Coerce
canonical, coerce, equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringCoerce

public StringCoerce(Map<Type,Coercions.Coerce> coercions)
Method Detail

getCanonicalType

public Class<String> getCanonicalType()
Returns:
the actual Java type this CoercibleType represents

coerce

public String coerce(Object value)
Specified by:
coerce in class Coercions.Coerce<String>


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.