public class SIS extends Object
| Constructor and Description |
|---|
SIS() |
| Modifier and Type | Method and 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. |
public void initValues(int mtLv,
String superiorModuleCode,
PrintStream out,
PrintStream err)
mtLv - - method levelsuperiorModuleCode - - superior module codeout - - console standard outputerr - - console error output (not used)public void initValues(int mtLv,
String superiorModuleCode,
PrintStream out,
PrintStream err,
String fileDrcS,
String base_FileCode,
String spc_FileCode,
boolean ShowBriefInfo,
boolean ShowFullInfo)
mtLv - - method levelsuperiorModuleCode - - superior module codeout - - console standard outputerr - - console error output (not used)fileDrcS - - file directory as stringbase_FileCode - - base part of file codespc_FileCode - - specifying part of file codeShowBriefInfo - - show brief informationsShowFullInfo - - show full informationspublic String getfullFileName()
public void info(String oinfo)
oinfo - - informationpublic long getcharsCount()
public void onStop(int mtLv)
mtLv - - method levelCopyright © 2021. All rights reserved.