Class PlatformRunnable

  • All Implemented Interfaces:
    java.lang.Comparable
    Direct Known Subclasses:
    BaseRunnable

    public abstract class PlatformRunnable
    extends CommonRunnable
    • Constructor Detail

      • PlatformRunnable

        public PlatformRunnable​(int eventId,
                                int hobj,
                                int locVarId,
                                int row,
                                int col)
    • Method Detail

      • isTCLEnvironment

        public boolean isTCLEnvironment()
        Function determines where is the script running
        Returns:
      • exportCSV

        @Deprecated
        public final void exportCSV​(D2SD struct,
                                    java.lang.String fileName,
                                    char delimiter,
                                    int transPalIdx,
                                    boolean addTime,
                                    boolean useMonoTime,
                                    boolean useUTF8)
                             throws java.io.IOException
        Deprecated.
        Corresponds to ESL action EXPORT_CSV
        Parameters:
        struct - structured variable
        fileName - output file name
        delimiter - delimiter character
        transPalIdx - transformation palette for time (default -1)
        addTime - inserts time row for each row
        useMonoTime - uses monotone time
        useUTF8 - generated file will be in UTF-8 encoding
        Throws:
        java.io.IOException - if writing to file failed
        ExceptionParameterError - on invalid parameter
      • exportCSV

        public final void exportCSV​(D2SD struct,
                                    java.lang.String fileName,
                                    char delimiter,
                                    int transPalIdx,
                                    boolean addTime,
                                    int utcOffset,
                                    boolean useUTF8)
                             throws java.io.IOException
        Corresponds to ESL action EXPORT_CSV
        Parameters:
        struct - structured variable
        fileName - output file name
        delimiter - delimiter character
        transPalIdx - transformation palette for time (default -1)
        addTime - inserts time row for each row
        utcOffset - uses monotone time with given offset from UTC
        useUTF8 - generated file will be in UTF-8 encoding
        Throws:
        java.io.IOException - if writing to file failed
        ExceptionParameterError - on invalid parameter
      • exportCSV

        public final void exportCSV​(D2SD struct,
                                    java.lang.String fileName,
                                    char delimiter,
                                    int transPalIdx,
                                    boolean addTime,
                                    java.lang.String timeZone,
                                    boolean useUTF8)
                             throws java.io.IOException
        Corresponds to ESL action EXPORT_CSV
        Parameters:
        struct - structured variable
        fileName - output file name
        delimiter - delimiter character
        transPalIdx - transformation palette for time (default -1)
        addTime - inserts time row for each row
        timeZone - uses given time zone for times, null uses system time zone
        useUTF8 - generated file will be in UTF-8 encoding
        Throws:
        java.io.IOException - if writing to file failed
        ExceptionParameterError - on invalid parameter