C# Class org.mozilla.intl.chardet.nsPSMDetector

Show file Open project: GNOME/gnome-subtitles

Protected Properties

Property Type Description
mClassRunSampler bool
mDone bool
mRunSampler bool

Public Methods

Method Description
DataEnd ( ) : void
HandleData ( byte aBuf, int len ) : bool
Report ( String charset ) : void
Reset ( ) : void
Sample ( byte aBuf, int aLen ) : void
Sample ( byte aBuf, int aLen, bool aLastChance ) : void
getProbableCharsets ( ) : String[]
nsPSMDetector ( ) : System
nsPSMDetector ( int langFlag ) : System
nsPSMDetector ( int aItems, org.mozilla.intl.chardet.nsVerifier aVerifierSet, org.mozilla.intl.chardet.nsEUCStatistics aStatisticsSet ) : System

Protected Methods

Method Description
initVerifiers ( int currVerSet ) : void

Method Details

DataEnd() public method

public DataEnd ( ) : void
return void

HandleData() public method

public HandleData ( byte aBuf, int len ) : bool
aBuf byte
len int
return bool

Report() public abstract method

public abstract Report ( String charset ) : void
charset String
return void

Reset() public method

public Reset ( ) : void
return void

Sample() public method

public Sample ( byte aBuf, int aLen ) : void
aBuf byte
aLen int
return void

Sample() public method

public Sample ( byte aBuf, int aLen, bool aLastChance ) : void
aBuf byte
aLen int
aLastChance bool
return void

getProbableCharsets() public method

public getProbableCharsets ( ) : String[]
return String[]

initVerifiers() protected method

protected initVerifiers ( int currVerSet ) : void
currVerSet int
return void

nsPSMDetector() public method

public nsPSMDetector ( ) : System
return System

nsPSMDetector() public method

public nsPSMDetector ( int langFlag ) : System
langFlag int
return System

nsPSMDetector() public method

public nsPSMDetector ( int aItems, org.mozilla.intl.chardet.nsVerifier aVerifierSet, org.mozilla.intl.chardet.nsEUCStatistics aStatisticsSet ) : System
aItems int
aVerifierSet org.mozilla.intl.chardet.nsVerifier
aStatisticsSet org.mozilla.intl.chardet.nsEUCStatistics
return System

Property Details

mClassRunSampler protected property

protected bool mClassRunSampler
return bool

mDone protected property

protected bool mDone
return bool

mRunSampler protected property

protected bool mRunSampler
return bool