uk.ac.starlink.ttools.convert
Class Conversions
java.lang.Object
uk.ac.starlink.ttools.convert.Conversions
public class Conversions
- extends Object
Utility functions for converting between value types.
- Since:
- 24 Feb 2006
- Author:
- Mark Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Conversions
public Conversions()
getNumericConverter
public static ValueConverter getNumericConverter(uk.ac.starlink.table.ValueInfo info)
- Returns a converter from the given ValueInfo to a numeric quantity.
- Parameters:
info
- input quantity metadata
- Returns:
- converter which can convert
info
quantities to
a numeric form, or null
if we don't know how
to do it
Copyright © 2009 Central Laboratory of the Research Councils. All Rights Reserved.