dsto.dfc.text
Class IStringTranslator.ToString

java.lang.Object
  extended by dsto.dfc.text.IStringTranslator.ToString
All Implemented Interfaces:
ITranslator
Enclosing interface:
IStringTranslator

public static class IStringTranslator.ToString
extends Object
implements ITranslator

Adapts a IStringTranslator to the one-way ITranslator interface. Uses IStringTranslator.toString(Object) for translation.

See Also:
IStringTranslator.FromString

Constructor Summary
IStringTranslator.ToString(IStringTranslator translator)
           
 
Method Summary
 Object translate(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IStringTranslator.ToString

public IStringTranslator.ToString(IStringTranslator translator)
Method Detail

translate

public Object translate(Object object)
                 throws InvalidFormatException
Specified by:
translate in interface ITranslator
Throws:
InvalidFormatException


Copyright © 2008 Commonwealth of Australia