public class LineCheck
extends java.lang.Object
History:
| Constructor and Description |
|---|
LineCheck() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
CheckSlotFiller(LineObject lineObject,
boolean printFlag,
CheckObject checkObject,
TokenObject tokenObject,
boolean checkLength)
Check Slot and filler
|
static boolean |
CheckStartStr(LineObject lineObject,
boolean printFlag,
CheckObject checkObject)
check if the line starts with the assigned start string
|
static boolean |
CheckWholeLine(LineObject lineObject,
boolean printFlag,
CheckObject checkObject)
check if the whole line is the same as the assigned string
|
static java.lang.String |
GetStartStr(LineObject lineObject,
java.lang.String delim)
Retrieve the start string by giving the delimiter
|
public static boolean CheckStartStr(LineObject lineObject, boolean printFlag, CheckObject checkObject)
lineObject - the java object of the input lineprintFlag - the flag for print out check resultcheckObject - the java object of checkingpublic static boolean CheckWholeLine(LineObject lineObject, boolean printFlag, CheckObject checkObject)
lineObject - the java object of the input lineprintFlag - the flag for print out check resultcheckObject - the java object of checkingpublic static java.lang.String GetStartStr(LineObject lineObject, java.lang.String delim)
lineObject - the java object of the input linedelim - delimiter for tokenizing the starting stringpublic static boolean CheckSlotFiller(LineObject lineObject, boolean printFlag, CheckObject checkObject, TokenObject tokenObject, boolean checkLength)
lineObject - the java object of the input lineprintFlag - the flag for print out check resultcheckObject - the java object of checkingtokenObject - the java object of tokenizationcheckLength - flag of checking length or notSubmit a bug or feature
Copyright © 2019 National Library of Medicine