public class LibrarySetup extends java.lang.Object implements IndexerSettings
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
configName |
static java.lang.String |
DEFAULT_DIRS |
static java.lang.String |
DIRS |
static java.lang.String |
SEMICOLON |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getCacheHome() |
java.io.File |
getConfigHome() |
java.lang.Integer |
getDidYouMeantCount() |
java.lang.Integer |
getDidYouMeantDeadLine() |
java.nio.file.Path[] |
getDirs() |
java.lang.Integer |
getMaxLoad() |
java.lang.Integer |
getMaxShow() |
java.lang.Integer |
getShowAfter() |
java.lang.Integer |
getShowBefore() |
java.lang.Integer |
getShowRecords() |
boolean |
isExcldedFileIncludedInRanks() |
boolean |
isFilenameCaseInsensitiveIncluded(java.lang.String fileName) |
boolean |
isFileValid(java.lang.String potentionalFile) |
java.lang.Boolean |
isLucenePreffered() |
java.lang.Boolean |
isMergeResults() |
java.lang.Boolean |
isNoInfo() |
java.lang.Boolean |
isNoPdfInfo() |
boolean |
isPathCaseInsensitiveIncluded(java.io.File path) |
java.lang.Boolean |
isSecurity() |
boolean |
isSuffixCaseInsensitiveIncluded(java.lang.String fileName) |
void |
preload() |
java.io.File |
settingsFile() |
public static final java.lang.String DIRS
public static java.lang.String DEFAULT_DIRS
public static final java.lang.String SEMICOLON
public static java.lang.String configName
public void preload()
throws java.io.IOException
java.io.IOExceptionpublic boolean isFileValid(java.lang.String potentionalFile)
public java.io.File settingsFile()
public java.io.File getConfigHome()
public java.io.File getCacheHome()
public boolean isFilenameCaseInsensitiveIncluded(java.lang.String fileName)
isFilenameCaseInsensitiveIncluded in interface IndexerSettingspublic boolean isSuffixCaseInsensitiveIncluded(java.lang.String fileName)
isSuffixCaseInsensitiveIncluded in interface IndexerSettingspublic boolean isPathCaseInsensitiveIncluded(java.io.File path)
isPathCaseInsensitiveIncluded in interface IndexerSettingspublic boolean isExcldedFileIncludedInRanks()
isExcldedFileIncludedInRanks in interface IndexerSettingspublic java.nio.file.Path[] getDirs()
getDirs in interface IndexerSettingspublic java.lang.Boolean isSecurity()
public java.lang.Integer getShowBefore()
public java.lang.Integer getShowAfter()
public java.lang.Integer getDidYouMeantDeadLine()
public java.lang.Integer getDidYouMeantCount()
public java.lang.Integer getShowRecords()
public java.lang.Boolean isLucenePreffered()
public java.lang.Boolean isNoInfo()
public java.lang.Boolean isMergeResults()
public java.lang.Boolean isNoPdfInfo()
public java.lang.Integer getMaxLoad()
public java.lang.Integer getMaxShow()