Class DownloadContent

    • Field Detail

      • m_BufferSize

        protected int m_BufferSize
        the buffer size to use.
    • Constructor Detail

      • DownloadContent

        public DownloadContent()
    • Method Detail

      • setBufferSize

        public void setBufferSize​(int value)
        Sets the size of the buffer.
        Specified by:
        setBufferSize in interface BufferSupporter
        Parameters:
        value - the size
      • bufferSizeTipText

        public String bufferSizeTipText()
        Returns the tip text for this property.
        Specified by:
        bufferSizeTipText in interface BufferSupporter
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        java.lang.String.class, java.net.URL.class
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Specified by:
        generates in interface OutputProducer
        Returns:
        the Class of the generated tokens
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message