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.String
configName
static java.lang.String
DEFAULT_DIRS
static java.lang.String
DIRS
static java.lang.String
SEMICOLON
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
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:
isFilenameCaseInsensitiveIncluded
in interfaceIndexerSettings
-
isSuffixCaseInsensitiveIncluded
public boolean isSuffixCaseInsensitiveIncluded(java.lang.String fileName)
- Specified by:
isSuffixCaseInsensitiveIncluded
in interfaceIndexerSettings
-
isPathCaseInsensitiveIncluded
public boolean isPathCaseInsensitiveIncluded(java.io.File path)
- Specified by:
isPathCaseInsensitiveIncluded
in interfaceIndexerSettings
-
isExcldedFileIncludedInRanks
public boolean isExcldedFileIncludedInRanks()
- Specified by:
isExcldedFileIncludedInRanks
in interfaceIndexerSettings
-
getDirs
public java.nio.file.Path[] getDirs()
- Specified by:
getDirs
in 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()
-
-