Class AbstractInputStreamGenerator

    • Constructor Detail

      • AbstractInputStreamGenerator

        public AbstractInputStreamGenerator()
    • Method Detail

      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Default implementation returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • check

        protected String check()
        Hook method for checks.
        Returns:
        null if checks passed, otherwise error message
      • doGenerate

        protected abstract InputStream doGenerate()
                                           throws Exception
        Generates the InputStream instance.
        Returns:
        the stream
        Throws:
        Exception - if generation fails
      • generate

        public InputStream generate()
                             throws Exception
        Generates the InputStream instance.
        Returns:
        the stream
        Throws:
        Exception - if generation fails