Class CSVUserInputPanel

    • Constructor Detail

      • CSVUserInputPanel

        public CSVUserInputPanel​(DemoController controler)
        Creates the demo workspace.
    • Method Detail

      • performValidate

        protected boolean performValidate()
        Validates the contents of the dialog's input fields. If the selected file exists, it is also checked for validity.
        Returns:
        true if the input is valid, false otherwise
      • getFormValidator

        protected org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.FormValidator getFormValidator()
      • performSeparatorSelection

        protected void performSeparatorSelection()
        Enables or disables the 'other' separator text field.
      • isColumnNamesAsFirstRow

        public boolean isColumnNamesAsFirstRow()
      • setColumnNamesAsFirstRow

        public void setColumnNamesAsFirstRow​(boolean colsAsFirstRow)
      • performLoadFile

        protected void performLoadFile()
        Selects a file to use as target for the report processing.
      • getData

        public String getData()
      • getSeparatorString

        public String getSeparatorString()
        Returns the separator string, which is controlled by the selection of radio buttons.
        Returns:
        The separator string.
      • setSeparatorString

        public void setSeparatorString​(String s)
        Sets the separator string.
        Parameters:
        s - the separator.