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.String
DEAD_LINE
static java.lang.String
DID_COUNT
static java.lang.String
HIGHLIGHT
static java.lang.String
INFO_AFTER
static java.lang.String
INFO_BEFORE
static java.lang.String
LIBRARIES
static java.lang.String
LIBRARY
static java.lang.String
MERGE_COMAPRATORS
static java.lang.String
NO_INFO
static java.lang.String
NO_PDF_INFO
static java.lang.String
PORT
static java.lang.String
QUERY
static java.lang.String
RECORDS
static java.lang.String
START_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:
isPage
in interfaceSearchSettings
-
isInfo
public boolean isInfo()
- Specified by:
isInfo
in interfaceSearchSettings
-
hasMergeWonted
public boolean hasMergeWonted()
-
isMergeWonted
public boolean isMergeWonted()
- Specified by:
isMergeWonted
in interfaceSearchSettings
-
isOmitArchives
public boolean isOmitArchives()
- Specified by:
isOmitArchives
in interfaceSearchSettings
-
isOmitPdfInfo
public boolean isOmitPdfInfo()
- Specified by:
isOmitPdfInfo
in 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:
getInfoBefore
in interfaceSearchSettings
-
getInfoAfter
public int getInfoAfter()
- Specified by:
getInfoAfter
in interfaceSearchSettings
-
getDidYouMeantDeadLine
public int getDidYouMeantDeadLine()
- Specified by:
getDidYouMeantDeadLine
in interfaceSearchSettings
-
getDidYouMeantCount
public int getDidYouMeantCount()
- Specified by:
getDidYouMeantCount
in interfaceSearchSettings
-
getstartAt
public int getstartAt()
- Specified by:
getstartAt
in interfaceSearchSettings
-
getRecords
public int getRecords()
- Specified by:
getRecords
in interfaceSearchSettings
-
getLibrary
public java.lang.String getLibrary()
- Specified by:
getLibrary
in interfaceSearchSettings
-
checkAll
public void checkAll()
-
createFormatter
public Formatter createFormatter(java.io.PrintStream out)
- Specified by:
createFormatter
in interfaceSearchSettings
-
getOsName
public static java.lang.String getOsName()
-
isWindows
public static boolean isWindows()
-
isUnix
public static boolean isUnix()
-
getSetup
public LibrarySetup getSetup()
- Specified by:
getSetup
in interfaceSearchSettings
-
getPort
public int getPort()
-
-