Package javadocofflinesearch.tools
Class LibrarySetup
- java.lang.Object
-
- javadocofflinesearch.tools.LibrarySetup
-
- All Implemented Interfaces:
IndexerSettings
public class LibrarySetup extends java.lang.Object implements IndexerSettings
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringconfigNamestatic java.lang.StringDEFAULT_DIRSstatic java.lang.StringDIRSstatic java.lang.StringSEMICOLON
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetCacheHome()java.io.FilegetConfigHome()java.lang.IntegergetDidYouMeantCount()java.lang.IntegergetDidYouMeantDeadLine()java.nio.file.Path[]getDirs()java.lang.IntegergetMaxLoad()java.lang.IntegergetMaxShow()java.lang.IntegergetShowAfter()java.lang.IntegergetShowBefore()java.lang.IntegergetShowRecords()booleanisExcldedFileIncludedInRanks()booleanisFilenameCaseInsensitiveIncluded(java.lang.String fileName)booleanisFileValid(java.lang.String potentionalFile)java.lang.BooleanisLucenePreffered()java.lang.BooleanisMergeResults()java.lang.BooleanisNoInfo()java.lang.BooleanisNoPdfInfo()booleanisPathCaseInsensitiveIncluded(java.io.File path)java.lang.BooleanisSecurity()booleanisSuffixCaseInsensitiveIncluded(java.lang.String fileName)voidpreload()java.io.FilesettingsFile()
-
-
-
Field Detail
-
DIRS
public static final java.lang.String DIRS
- See Also:
- Constant Field Values
-
DEFAULT_DIRS
public static java.lang.String DEFAULT_DIRS
-
SEMICOLON
public static final java.lang.String SEMICOLON
- See Also:
- Constant Field Values
-
configName
public static java.lang.String configName
-
-
Method Detail
-
preload
public void preload() throws java.io.IOException- Throws:
java.io.IOException
-
isFileValid
public boolean isFileValid(java.lang.String potentionalFile)
-
settingsFile
public java.io.File settingsFile()
-
getConfigHome
public java.io.File getConfigHome()
-
getCacheHome
public java.io.File getCacheHome()
-
isFilenameCaseInsensitiveIncluded
public boolean isFilenameCaseInsensitiveIncluded(java.lang.String fileName)
- Specified by:
isFilenameCaseInsensitiveIncludedin interfaceIndexerSettings
-
isSuffixCaseInsensitiveIncluded
public boolean isSuffixCaseInsensitiveIncluded(java.lang.String fileName)
- Specified by:
isSuffixCaseInsensitiveIncludedin interfaceIndexerSettings
-
isPathCaseInsensitiveIncluded
public boolean isPathCaseInsensitiveIncluded(java.io.File path)
- Specified by:
isPathCaseInsensitiveIncludedin interfaceIndexerSettings
-
isExcldedFileIncludedInRanks
public boolean isExcldedFileIncludedInRanks()
- Specified by:
isExcldedFileIncludedInRanksin interfaceIndexerSettings
-
getDirs
public java.nio.file.Path[] getDirs()
- Specified by:
getDirsin interfaceIndexerSettings
-
isSecurity
public java.lang.Boolean isSecurity()
-
getShowBefore
public java.lang.Integer getShowBefore()
-
getShowAfter
public java.lang.Integer getShowAfter()
-
getDidYouMeantDeadLine
public java.lang.Integer getDidYouMeantDeadLine()
-
getDidYouMeantCount
public java.lang.Integer getDidYouMeantCount()
-
getShowRecords
public java.lang.Integer getShowRecords()
-
isLucenePreffered
public java.lang.Boolean isLucenePreffered()
-
isNoInfo
public java.lang.Boolean isNoInfo()
-
isMergeResults
public java.lang.Boolean isMergeResults()
-
isNoPdfInfo
public java.lang.Boolean isNoPdfInfo()
-
getMaxLoad
public java.lang.Integer getMaxLoad()
-
getMaxShow
public java.lang.Integer getMaxShow()
-
-