LexCheck
2011 Version

gov.nih.nlm.nls.lexCheck.Tools
Class LexCheck

java.lang.Object
  extended by gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
      extended by gov.nih.nlm.nls.lexCheck.Tools.LexCheck

public class LexCheck
extends gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption

This class provides a command line program for checking the grammer syntax of a lexical record (text) read in from a file. This program duplicates the work in Java class Api.ToXmlApi.ToXmlFromTextFile() with extra options can be set.

History:

Version:
V-2011
Author:
NLM Lexical System Development Team

Field Summary
 
Fields inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
systemOption_
 
Constructor Summary
LexCheck()
           
 
Method Summary
protected  void DefineFlag()
           
protected  void ExecuteCommand(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem, gov.nih.nlm.nls.lvg.CmdLineSyntax.Option systemOption)
           
static void main(java.lang.String[] args)
          command line program for checking syntax of a lexical record.
 
Methods inherited from class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption
CheckOption, CheckSyntax, ExecuteCommands, GetOption, ToBoolean, ToFloatArray, ToIntArray, ToStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexCheck

public LexCheck()
Method Detail

main

public static void main(java.lang.String[] args)
command line program for checking syntax of a lexical record.


ExecuteCommand

protected void ExecuteCommand(gov.nih.nlm.nls.lvg.CmdLineSyntax.OptionItem optionItem,
                              gov.nih.nlm.nls.lvg.CmdLineSyntax.Option systemOption)
Specified by:
ExecuteCommand in class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption

DefineFlag

protected void DefineFlag()
Specified by:
DefineFlag in class gov.nih.nlm.nls.lvg.CmdLineSyntax.SystemOption

LexCheck
2011 Version

Submit a bug or feature

Copyright © 2011 National Library of Medicine