Class Upload

  • All Implemented Interfaces:
    adams.core.AdditionalInformationHandler, adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.ErrorProvider, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.QuickInfoSupporter, adams.core.SizeOfHandler, AlternativeUrlSupporter, WebServiceClient, WebServiceClientConsumer<adams.data.text.TextContainer>, WsdlUrlProvider, Serializable

    public class Upload
    extends AbstractWebServiceClientSink<adams.data.text.TextContainer>
    Uploads a TextContainer.
    Version:
    $Revision: 2085 $
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_ContainerIn

        protected adams.data.text.TextContainer m_ContainerIn
        input container
      • m_Format

        protected String m_Format
        the format.
    • Constructor Detail

      • Upload

        public Upload()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractWebServiceClientSink<adams.data.text.TextContainer>
      • setFormat

        public void setFormat​(String value)
        Sets the text format.
        Parameters:
        value - the format
      • getFormat

        public String getFormat()
        Returns the text format.
        Returns:
        the format
      • formatTipText

        public String formatTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the classes that are accepted input.
        Returns:
        the classes that are accepted
      • setRequestData

        public void setRequestData​(adams.data.text.TextContainer value)
        Sets the data for the request, if any.
        Parameters:
        value - the request data