Class RatsTextHelper


  • public class RatsTextHelper
    extends Object
    Helper class for converting text.
    Version:
    $Revision: 2085 $
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • RatsTextHelper

        public RatsTextHelper()
    • Method Detail

      • containerToWebservice

        public static Text containerToWebservice​(adams.data.text.TextContainer input)
        Converts a TextContainer into a Webservice Text objecct.
        Parameters:
        input - the TextContainer
        Returns:
        the Webservice Text object
      • webserviceToContainer

        public static adams.data.text.TextContainer webserviceToContainer​(Text input)
        Converts a Webservice Text object into a TextContainer.
        Parameters:
        input - the Text object
        Returns:
        the TextContainer