Class SIS


  • public class SIS
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SIS()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getcharsCount()
      getcharsCount
      public long getcharsCount()
      Returns chars count counted from SIS creating.
      String getfullFileName()
      getfullFileName
      public String getfullFileName()
      Returns full file name
      void info​(String oinfo)
      info
      public void info( String oinfo )
      This method is input for informations.
      Informations are showed in console and saved in file.
      void initValues​(int mtLv, String superiorModuleCode, PrintStream out, PrintStream err)
      initValues
      public void initValues( int mtLv, String superiorModuleCode,
      PrintStream out, PrintStream err )
      Initialize values for console - not file.
      void initValues​(int mtLv, String superiorModuleCode, PrintStream out, PrintStream err, String fileDrcS, String base_FileCode, String spc_FileCode, boolean ShowBriefInfo, boolean ShowFullInfo)
      initValues
      public void initValues( int mtLv, String superiorModuleCode,
      PrintStream out, PrintStream err, String fileDrcS,
      String base_FileCode, String spc_FileCode,
      boolean ShowBriefInfo, boolean ShowFullInfo )
      Initialize values for console and file.
      fullFileName =
      "Z" +
      TimeS + "_" +
      base_FileCode + "_" +
      spc_FileCode +
      ".txt";
      TimeS (time string) format: "yyyyMMdd'_'HHmmss.SSS"
      void onStop​(int mtLv)
      onStop
      public void onStop( int mtLv )
      This method should be called at the end of program.
      Close file.
    • Constructor Detail

      • SIS

        public SIS()
    • Method Detail

      • initValues

        public void initValues​(int mtLv,
                               String superiorModuleCode,
                               PrintStream out,
                               PrintStream err)
        initValues
        public void initValues( int mtLv, String superiorModuleCode,
        PrintStream out, PrintStream err )
        Initialize values for console - not file.
        Parameters:
        mtLv - - method level
        superiorModuleCode - - superior module code
        out - - console standard output
        err - - console error output (not used)
      • initValues

        public void initValues​(int mtLv,
                               String superiorModuleCode,
                               PrintStream out,
                               PrintStream err,
                               String fileDrcS,
                               String base_FileCode,
                               String spc_FileCode,
                               boolean ShowBriefInfo,
                               boolean ShowFullInfo)
        initValues
        public void initValues( int mtLv, String superiorModuleCode,
        PrintStream out, PrintStream err, String fileDrcS,
        String base_FileCode, String spc_FileCode,
        boolean ShowBriefInfo, boolean ShowFullInfo )
        Initialize values for console and file.
        fullFileName =
        "Z" +
        TimeS + "_" +
        base_FileCode + "_" +
        spc_FileCode +
        ".txt";
        TimeS (time string) format: "yyyyMMdd'_'HHmmss.SSS"
        Parameters:
        mtLv - - method level
        superiorModuleCode - - superior module code
        out - - console standard output
        err - - console error output (not used)
        fileDrcS - - file directory as string
        base_FileCode - - base part of file code
        spc_FileCode - - specifying part of file code
        ShowBriefInfo - - show brief informations
        ShowFullInfo - - show full informations
      • getfullFileName

        public String getfullFileName()
        getfullFileName
        public String getfullFileName()
        Returns full file name
        Returns:
        full file name
      • info

        public void info​(String oinfo)
        info
        public void info( String oinfo )
        This method is input for informations.
        Informations are showed in console and saved in file.
        Parameters:
        oinfo - - information
      • getcharsCount

        public long getcharsCount()
        getcharsCount
        public long getcharsCount()
        Returns chars count counted from SIS creating.
        Returns:
        chars count
      • onStop

        public void onStop​(int mtLv)
        onStop
        public void onStop( int mtLv )
        This method should be called at the end of program.
        Close file.
        Parameters:
        mtLv - - method level