Package javadocofflinesearch.tools
Class Commandline
- java.lang.Object
-
- javadocofflinesearch.tools.Commandline
-
- All Implemented Interfaces:
SearchSettings
public class Commandline extends java.lang.Object implements SearchSettings
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEAD_LINEstatic java.lang.StringDID_COUNTstatic java.lang.StringHIGHLIGHTstatic java.lang.StringINFO_AFTERstatic java.lang.StringINFO_BEFOREstatic java.lang.StringLIBRARIESstatic java.lang.StringLIBRARYstatic java.lang.StringMERGE_COMAPRATORSstatic java.lang.StringNO_INFOstatic java.lang.StringNO_PDF_INFOstatic java.lang.StringPORTstatic java.lang.StringQUERYstatic java.lang.StringRECORDSstatic java.lang.StringSTART_AT
-
Constructor Summary
Constructors Constructor Description Commandline(java.lang.String[] args)
-
Method Summary
-
-
-
Field Detail
-
NO_INFO
public static final java.lang.String NO_INFO
- See Also:
- Constant Field Values
-
QUERY
public static final java.lang.String QUERY
- See Also:
- Constant Field Values
-
MERGE_COMAPRATORS
public static final java.lang.String MERGE_COMAPRATORS
- See Also:
- Constant Field Values
-
INFO_AFTER
public static final java.lang.String INFO_AFTER
- See Also:
- Constant Field Values
-
INFO_BEFORE
public static final java.lang.String INFO_BEFORE
- See Also:
- Constant Field Values
-
DEAD_LINE
public static final java.lang.String DEAD_LINE
- See Also:
- Constant Field Values
-
DID_COUNT
public static final java.lang.String DID_COUNT
- See Also:
- Constant Field Values
-
START_AT
public static final java.lang.String START_AT
- See Also:
- Constant Field Values
-
RECORDS
public static final java.lang.String RECORDS
- See Also:
- Constant Field Values
-
NO_PDF_INFO
public static final java.lang.String NO_PDF_INFO
- See Also:
- Constant Field Values
-
LIBRARY
public static final java.lang.String LIBRARY
- See Also:
- Constant Field Values
-
LIBRARIES
public static final java.lang.String LIBRARIES
- See Also:
- Constant Field Values
-
PORT
public static final java.lang.String PORT
- See Also:
- Constant Field Values
-
HIGHLIGHT
public static final java.lang.String HIGHLIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public void parse()
-
checkDupes
public void checkDupes()
-
checkHelp
public void checkHelp()
-
checkVersion
public void checkVersion()
-
verifyIndex
public void verifyIndex()
-
verifyServer
public void verifyServer()
-
verifyFirefox
public void verifyFirefox()
-
hasPrintFirefoxEngine
public boolean hasPrintFirefoxEngine()
-
hasServer
public boolean hasServer()
-
verifyQeury
public void verifyQeury()
-
getQuery
public java.lang.String getQuery()
-
hasIndex
public boolean hasIndex()
-
hasQuery
public boolean hasQuery()
-
hasPageRank
public boolean hasPageRank()
-
hasLuceneRank
public boolean hasLuceneRank()
-
hasNoInfo
public boolean hasNoInfo()
-
hasMoreInfo
public boolean hasMoreInfo()
-
isPage
public boolean isPage()
- Specified by:
isPagein interfaceSearchSettings
-
isInfo
public boolean isInfo()
- Specified by:
isInfoin interfaceSearchSettings
-
hasMergeWonted
public boolean hasMergeWonted()
-
isMergeWonted
public boolean isMergeWonted()
- Specified by:
isMergeWontedin interfaceSearchSettings
-
isOmitArchives
public boolean isOmitArchives()
- Specified by:
isOmitArchivesin interfaceSearchSettings
-
isOmitPdfInfo
public boolean isOmitPdfInfo()
- Specified by:
isOmitPdfInfoin interfaceSearchSettings
-
isColoured
public boolean isColoured()
-
isExctractInfo
public boolean isExctractInfo()
-
getExctractInfo
public java.lang.String getExctractInfo()
-
isHighligt
public boolean isHighligt()
-
getHighligtInfo
public java.lang.String getHighligtInfo()
-
getInfoBefore
public int getInfoBefore()
- Specified by:
getInfoBeforein interfaceSearchSettings
-
getInfoAfter
public int getInfoAfter()
- Specified by:
getInfoAfterin interfaceSearchSettings
-
getDidYouMeantDeadLine
public int getDidYouMeantDeadLine()
- Specified by:
getDidYouMeantDeadLinein interfaceSearchSettings
-
getDidYouMeantCount
public int getDidYouMeantCount()
- Specified by:
getDidYouMeantCountin interfaceSearchSettings
-
getstartAt
public int getstartAt()
- Specified by:
getstartAtin interfaceSearchSettings
-
getRecords
public int getRecords()
- Specified by:
getRecordsin interfaceSearchSettings
-
getLibrary
public java.lang.String getLibrary()
- Specified by:
getLibraryin interfaceSearchSettings
-
checkAll
public void checkAll()
-
createFormatter
public Formatter createFormatter(java.io.PrintStream out)
- Specified by:
createFormatterin interfaceSearchSettings
-
getOsName
public static java.lang.String getOsName()
-
isWindows
public static boolean isWindows()
-
isUnix
public static boolean isUnix()
-
getSetup
public LibrarySetup getSetup()
- Specified by:
getSetupin interfaceSearchSettings
-
getPort
public int getPort()
-
-