public abstract class AbstractGeneralLanguage extends java.lang.Object implements ILanguages
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_WORDS |
static java.lang.String |
and |
static java.lang.String |
AND |
static java.lang.String |
ANY_WORDS |
protected java.lang.String |
currentClause |
protected java.lang.String |
currentQuery |
static java.lang.String |
EXACT_WORDS |
static java.lang.String |
or |
static java.lang.String |
OR |
Constructor and Description |
---|
AbstractGeneralLanguage() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOperator(java.lang.String titleKeys)
Return logic operators
|
java.util.Iterator |
parseValues(java.lang.String line,
java.lang.String titleKeys)
Divide a phrase in lines
|
java.util.Iterator |
parseValues(java.lang.String line,
java.lang.String titleKeys,
java.lang.String relationship,
java.lang.String wildCard)
Divide a phrase in lines
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public static final java.lang.String EXACT_WORDS
public static final java.lang.String ANY_WORDS
public static final java.lang.String ALL_WORDS
public static final java.lang.String AND
public static final java.lang.String OR
public static final java.lang.String and
public static final java.lang.String or
protected java.lang.String currentQuery
protected java.lang.String currentClause
public java.util.Iterator parseValues(java.lang.String line, java.lang.String titleKeys)
concordancia
- If is 'E' (exact) don't divideline
- phrase to searchtitleKeys
- public java.util.Iterator parseValues(java.lang.String line, java.lang.String titleKeys, java.lang.String relationship, java.lang.String wildCard)
concordancia
- If is 'E' (exact) don't divideline
- phrase to searchtitleKeys
- relationship
- wildCard
- public java.lang.String getOperator(java.lang.String titleKeys)
titleKeys
- E,A o Y --> Exact, All, anY