Class CurrencyConverter

  • All Implemented Interfaces:
    ConverterMatcher, SingleValueConverter

    public class CurrencyConverter
    extends AbstractSingleValueConverter
    Converts a java.util.Currency to String. Despite the name of this class, it has nothing to do with converting currencies between exchange rates! It makes sense in the context of XStream.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canConvert​(java.lang.Class type)
      Determines whether the converter can marshall a particular type.
      java.lang.Object fromString​(java.lang.String str)
      Unmarshals an Object from its single value representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait