public class Commandline extends java.lang.Object implements SearchSettings
Modifier and Type | Field and 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 and Description |
---|
Commandline(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
void |
checkAll() |
void |
checkDupes() |
void |
checkHelp() |
void |
checkVersion() |
Formatter |
createFormatter(java.io.PrintStream out) |
int |
getDidYouMeantCount() |
int |
getDidYouMeantDeadLine() |
java.lang.String |
getExctractInfo() |
java.lang.String |
getHighligtInfo() |
int |
getInfoAfter() |
int |
getInfoBefore() |
java.lang.String |
getLibrary() |
static java.lang.String |
getOsName() |
int |
getPort() |
java.lang.String |
getQuery() |
int |
getRecords() |
LibrarySetup |
getSetup() |
int |
getstartAt() |
boolean |
hasIndex() |
boolean |
hasLuceneRank() |
boolean |
hasMergeWonted() |
boolean |
hasMoreInfo() |
boolean |
hasNoInfo() |
boolean |
hasPageRank() |
boolean |
hasPrintFirefoxEngine() |
boolean |
hasQuery() |
boolean |
hasServer() |
boolean |
isColoured() |
boolean |
isExctractInfo() |
boolean |
isHighligt() |
boolean |
isInfo() |
boolean |
isMergeWonted() |
boolean |
isOmitArchives() |
boolean |
isOmitPdfInfo() |
boolean |
isPage() |
static boolean |
isUnix() |
static boolean |
isWindows() |
void |
parse() |
void |
verifyFirefox() |
void |
verifyIndex() |
void |
verifyQeury() |
void |
verifyServer() |
public static final java.lang.String NO_INFO
public static final java.lang.String QUERY
public static final java.lang.String MERGE_COMAPRATORS
public static final java.lang.String INFO_AFTER
public static final java.lang.String INFO_BEFORE
public static final java.lang.String DEAD_LINE
public static final java.lang.String DID_COUNT
public static final java.lang.String START_AT
public static final java.lang.String RECORDS
public static final java.lang.String NO_PDF_INFO
public static final java.lang.String LIBRARY
public static final java.lang.String LIBRARIES
public static final java.lang.String PORT
public static final java.lang.String HIGHLIGHT
public void parse()
public void checkDupes()
public void checkHelp()
public void checkVersion()
public void verifyIndex()
public void verifyServer()
public void verifyFirefox()
public boolean hasPrintFirefoxEngine()
public boolean hasServer()
public void verifyQeury()
public java.lang.String getQuery()
public boolean hasIndex()
public boolean hasQuery()
public boolean hasPageRank()
public boolean hasLuceneRank()
public boolean hasNoInfo()
public boolean hasMoreInfo()
public boolean isPage()
isPage
in interface SearchSettings
public boolean isInfo()
isInfo
in interface SearchSettings
public boolean hasMergeWonted()
public boolean isMergeWonted()
isMergeWonted
in interface SearchSettings
public boolean isOmitArchives()
isOmitArchives
in interface SearchSettings
public boolean isOmitPdfInfo()
isOmitPdfInfo
in interface SearchSettings
public boolean isColoured()
public boolean isExctractInfo()
public java.lang.String getExctractInfo()
public boolean isHighligt()
public java.lang.String getHighligtInfo()
public int getInfoBefore()
getInfoBefore
in interface SearchSettings
public int getInfoAfter()
getInfoAfter
in interface SearchSettings
public int getDidYouMeantDeadLine()
getDidYouMeantDeadLine
in interface SearchSettings
public int getDidYouMeantCount()
getDidYouMeantCount
in interface SearchSettings
public int getstartAt()
getstartAt
in interface SearchSettings
public int getRecords()
getRecords
in interface SearchSettings
public java.lang.String getLibrary()
getLibrary
in interface SearchSettings
public void checkAll()
public Formatter createFormatter(java.io.PrintStream out)
createFormatter
in interface SearchSettings
public static java.lang.String getOsName()
public static boolean isWindows()
public static boolean isUnix()
public LibrarySetup getSetup()
getSetup
in interface SearchSettings
public int getPort()