C# Class Udger.Parser.UdgerParser

ファイルを表示 Open project: udger/udger-dotnet Class Usage Examples

Public Methods

Method Description
SetDataDir ( string dataDir ) : void

Set the data directory

SetDataDir ( string dataDir, string fileName ) : void

Set the data directory

UdgerParser ( ) : System

Constructor

parse ( ) : void

Parse the useragent string and/or ip address ///

Private Methods

Method Description
AddrToInt ( string addr ) : long
ConvertToDateTime ( string value ) : System.DateTime
ConvertToStr ( object value ) : string
getIPAddressVersion ( string _ip, string &_retIp ) : int
parseIP ( string _ip ) : void
parseUA ( string _userAgent ) : void
prepareClientRegex ( DataRow _row, System _match, int &_clienId, int &_clientClassId ) : void
prepareCrawler ( DataRow _row ) : void
prepareDevice ( DataRow _row, int &_deviceClassId ) : void
prepareIp ( DataRow _row ) : void
prepareIpDataCenter ( DataRow _row ) : void
prepareOs ( DataRow _row, int &_osId ) : void

Method Details

SetDataDir() public method

Set the data directory
public SetDataDir ( string dataDir ) : void
dataDir string string path cache directory
return void

SetDataDir() public method

Set the data directory
public SetDataDir ( string dataDir, string fileName ) : void
dataDir string string path cache directory
fileName string string path cache directory
return void

UdgerParser() public method

Constructor
public UdgerParser ( ) : System
return System

parse() public method

Parse the useragent string and/or ip address ///
public parse ( ) : void
return void