📄 jasenconfiguration.java
字号:
*/
public void setGuess(String guess) {
this.guess = guess;
}
/**
* Gets the Few Token Threshold for the scanner
* <br/>
* The Few Token Threshold refers to the threshold below which an alternate algorithm is used by the RobinsonScanner to determine the internal Chi Square value
* @return Returns the ftt.
* @see org.jasen.plugins.RobinsonScanner
*/
public String getFtt() {
return ftt;
}
/**
* Gets the Few Token Threshold for the scanner
* <br/>
* The Few Token Threshold refers to the threshold below which an alternate algorithm is used by the RobinsonScanner to determine the internal Chi Square value
* @see org.jasen.plugins.RobinsonScanner
* @param ftt Must be > 0
*/
public void setFtt(String ftt) {
this.ftt = ftt;
}
/**
* Gets the max number of tokens extracted from a message
* @return
*/
public String getTokenLimit() {
return tokenLimit;
}
/**
* Sets the max number of tokens extracted from a message
* @param tokenLimit
*/
public void setTokenLimit(String tokenLimit) {
this.tokenLimit = tokenLimit;
}
/**
* Gets the FQCN of the DNS Resolver used to resolve DNS records
* @return The class name of the DNS Resolver in use
*/
public String getDnsResolver() {
return dnsResolver;
}
/**
* Sets the FQCN of the DNS Resolver used to resolve DNS records
* @param dnsResolver
*/
public void setDnsResolver(String dnsResolver) {
this.dnsResolver = dnsResolver;
}
/**
* Gets the FQCN of the Inet Resolver used to resolve InetAddress records
* @return The class name of the Inet Resolver in use
*/
public String getInetResolver() {
return inetResolver;
}
/**
* Sets the FQCN of the Inet Resolver used to resolve InetAddress records
*/
public void setInetResolver(String inetResolver) {
this.inetResolver = inetResolver;
}
/**
* Gets the FQCN of the error handler used to handle errors which are otherwise unable to be handled
* @return The class name of the error handler in use
*/
public String getErrorHandler() {
return errorHandler;
}
/**
* Sets the FQCN of the error handler used to handle errors which are otherwise unable to be handled
* @param errorHandler
*/
public void setErrorHandler(String errorHandler) {
this.errorHandler = errorHandler;
}
/**
* Gets the "boundary" condition for the scanner. Scan results from any plugin with be normalized to be within the boundary
* <br/>
* For example: If the boundary is set to 0.01, all plugin results will be normalized to 0.01 <= result <= 0.09
* @return The boundary for all scans
*/
public String getBoundary() {
return boundary;
}
/**
* Sets the "boundary" condition for the scanner. Scan results from any plugin with be normalized to be within the boundary
* <br/>
* For example: If the boundary is set to 0.01, all plugin results will be normalized to 0.01 <= result <= 0.09
* @param boundary A value between 0.0 and 1.0
*/
public void setBoundary(String boundary) {
this.boundary = boundary;
}
/**
* Gets the frequency of the auto-update engine in minutes
* @return The time in minutes between each update check
*/
public String getAutoUpdateFrequency() {
return autoUpdateFrequency;
}
/**
* Sets the frequency of the auto-update engine in minutes
* @param autoUpdateFrequency
*/
public void setAutoUpdateFrequency(String autoUpdateFrequency) {
this.autoUpdateFrequency = autoUpdateFrequency;
}
/**
* Gets the URL from which updates are downloaded
* @return The URL from which updates are downloaded
*/
public String getAutoUpdateUrl() {
return autoUpdateUrl;
}
/**
* Sets the URL from which updates are downloaded
* @param autoUpdateUrl
*/
public void setAutoUpdateUrl(String autoUpdateUrl) {
this.autoUpdateUrl = autoUpdateUrl;
}
/**
* Gets the value of the auto update enabled configuration.
* @return A String representation of a boolean value which indicates whether the auto update engine will be enabled
*/
public String getAutoUpdateEnabled() {
return autoUpdateEnabled;
}
/**
* Sets the value of the auto update enabled configuration.
* @param autoUpdateEnabled A String representation of a boolean value which indicates whether the auto update engine will be enabled
*/
public void setAutoUpdateEnabled(String autoUpdateEnabled) {
this.autoUpdateEnabled = autoUpdateEnabled;
}
/**
* Gets the value of the auto update check-on-startup configuration.
* @return A String representation of a boolean value which indicates whether the auto update engine will check for updates upon engine start
*/
public String getAutoUpdateCheckOnStartup() {
return autoUpdateCheckOnStartup;
}
/**
* Sets the value of the auto update check-on-startup configuration.
* @param autoUpdateCheckOnStartup A String representation of a boolean value which indicates whether the auto update engine will check for updates upon engine start
*/
public void setAutoUpdateCheckOnStartup(String autoUpdateCheckOnStartup) {
this.autoUpdateCheckOnStartup = autoUpdateCheckOnStartup;
}
/**
* Gets the class name of the error handler to use in the auto update engine.
* @return The FQCN of the error handler to use in the auto update engine.
*/
public String getAutoUpdateErrorHandler() {
return autoUpdateErrorHandler;
}
/**
* Sets the class name of the error handler to use in the auto update engine.
* @param autoUpdateErrorHandler The FQCN of the error handler to use in the auto update engine.
*/
public void setAutoUpdateErrorHandler(String autoUpdateErrorHandler) {
this.autoUpdateErrorHandler = autoUpdateErrorHandler;
}
/**
* Gets the name of the (XML) file which resides on the update server and which contains the update parcel information
* @return The filename of the update parcel
*/
public String getAutoUpdateParcel() {
return autoUpdateParcel;
}
/**
* Gets the name of the (XML) file which resides on the update server and which contains the update parcel information
* @param autoUpdateParcel The filename of the update parcel
*/
public void setAutoUpdateParcel(String autoUpdateParcel) {
this.autoUpdateParcel = autoUpdateParcel;
}
/**
* Gets the size (in bytes) of the buffer to use when downloading updates
* @return The size as a String representation of a long value
*/
public String getAutoUpdateReadBuffer() {
return autoUpdateReadBuffer;
}
/**
* Sets the size (in bytes) of the buffer to use when downloading updates
* @param autoUpdateReadBuffer The size as a String representation of a long value
*/
public void setAutoUpdateReadBuffer(String autoUpdateReadBuffer) {
this.autoUpdateReadBuffer = autoUpdateReadBuffer;
}
/**
* Gets the timeout (in milliseconds) to be used when reading update information from the update server
* @return The timeout as a String representation of a long
*/
public String getAutoUpdateReadTimout() {
return autoUpdateReadTimout;
}
/**
* Sets the timeout (in milliseconds) to be used when reading update information from the update server
* @param autoUpdateReadTimout The timeout as a String representation of a long
*/
public void setAutoUpdateReadTimout(String autoUpdateReadTimout) {
this.autoUpdateReadTimout = autoUpdateReadTimout;
}
/**
* Gets the classpath-relative path to the primary library repository.
* <p>
* That is, the folder in which the JAR files for the engine reside
* </p>
* @return A String representation of the lib path
*/
public String getLibPath() {
return libPath;
}
/**
* Sets the classpath-relative path to the primary library repository.
* <p>
* That is, the folder in which the JAR files for the engine reside
* </p>
* @param libPath A String representation of the lib path
*/
public void setLibPath(String libPath) {
this.libPath = libPath;
}
/**
* Gets the configuration for the native HTML parser.
* @return The current configuration used for the native HTML parser
*/
public JasenParserConfiguration getParserConfiguration() {
return parserConfiguration;
}
/**
* Sets the configuration for the native HTML parser
* @param parserConfiguration
*/
public void setParserConfiguration(JasenParserConfiguration parserConfiguration) {
this.parserConfiguration = parserConfiguration;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -