Package adams.flow.core
Class RatsTextHelper
- java.lang.Object
-
- adams.flow.core.RatsTextHelper
-
public class RatsTextHelper extends Object
Helper class for converting text.- Version:
- $Revision: 2085 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description RatsTextHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Text
containerToWebservice(adams.data.text.TextContainer input)
Converts aTextContainer
into a Webservice Text objecct.static adams.data.text.TextContainer
webserviceToContainer(Text input)
Converts a Webservice Text object into aTextContainer
.
-
-
-
Method Detail
-
containerToWebservice
public static Text containerToWebservice(adams.data.text.TextContainer input)
Converts aTextContainer
into a Webservice Text objecct.- Parameters:
input
- theTextContainer
- Returns:
- the Webservice Text object
-
webserviceToContainer
public static adams.data.text.TextContainer webserviceToContainer(Text input)
Converts a Webservice Text object into aTextContainer
.- Parameters:
input
- the Text object- Returns:
- the
TextContainer
-
-