dict.cc dictionary

ParserBase.getInstance Method 

Returns a new parser instance for the given dictionary type

[Visual Basic]
Public Shared Function getInstance( _
   ByVal aHandler As IDictParserHandler, _
   ByVal aType As DictType _
) As ParserBase
[C#]
public static ParserBase getInstance(
   IDictParserHandler aHandler,
   DictType aType
);

Parameters

aHandler
the handler for extracted translations
aType
the dictionary type

Return Value

the implementation of the particular dictionary parser for aType or null, if the certain dictionary type is not implemented. Presently either an instance of DictParser for dict.cc or UDDLParser for uddl.

See Also

ParserBase Class | dict Namespace