|
Carrot2 Framework
API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.input.googleapi.GoogleApiKey
final class GoogleApiKey
A google API key.
| Field Summary | |
|---|---|
static int |
WAIT_TIME_LIMIT_EXCEEDED
12 hours |
static int |
WAIT_TIME_UNKNOWN_PROBLEM
15 minutes |
| Constructor Summary | |
|---|---|
GoogleApiKey(String key)
Creates a google API key and maximum results this key may serve. |
|
GoogleApiKey(String key,
String name)
|
|
| Method Summary | |
|---|---|
(package private) int |
getInvalidPeriod()
|
String |
getKey()
|
String |
getName()
Returns the name of this key. |
boolean |
isInvalid()
|
void |
setInvalid(boolean flag,
int invalidatePeriod)
|
(package private) void |
setValid()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WAIT_TIME_LIMIT_EXCEEDED
public static final int WAIT_TIME_UNKNOWN_PROBLEM
| Constructor Detail |
|---|
public GoogleApiKey(String key)
public GoogleApiKey(String key,
String name)
| Method Detail |
|---|
public final String getKey()
public String getName()
public boolean isInvalid()
public void setInvalid(boolean flag,
int invalidatePeriod)
int getInvalidPeriod()
void setValid()
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||