public HostNameParser(LexerCore lexer){
  this.lexer=lexer;
  lexer.selectLexer("charLexer");
  stripAddressScopeZones=Boolean.getBoolean("gov2.nist.core.STRIP_ADDR_SCOPES");
}

public HostNameParser ( LexerCore lexer ) { this . lexer = lexer ; lexer . selectLexer ( "charLexer" ) ; stripAddressScopeZones = Boolean . getBoolean ( "gov2.nist.core.STRIP_ADDR_SCOPES" ) ; }
the lexer is initialized with the buffer .
