Package com.gengoai.hermes.format
Class TwitterSearchFormat.Provider
- java.lang.Object
-
- com.gengoai.hermes.format.TwitterSearchFormat.Provider
-
- All Implemented Interfaces:
DocFormatProvider
- Enclosing class:
- TwitterSearchFormat
@MetaInfServices public static class TwitterSearchFormat.Provider extends Object implements DocFormatProvider
The type Provider.
-
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocFormat
create(@NonNull DocFormatParameters parameters)
Creates an instance of the providedDocFormat
with the given set ofDocFormatParameters
String
getName()
boolean
isWriteable()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.gengoai.hermes.format.DocFormatProvider
getDefaultFormatParameters
-
-
-
-
Method Detail
-
create
public DocFormat create(@NonNull @NonNull DocFormatParameters parameters)
Description copied from interface:DocFormatProvider
Creates an instance of the providedDocFormat
with the given set ofDocFormatParameters
- Specified by:
create
in interfaceDocFormatProvider
- Parameters:
parameters
- the format parameters- Returns:
- the doc format
-
getName
public String getName()
- Specified by:
getName
in interfaceDocFormatProvider
- Returns:
- the format name used to identify it when constructing document collections.
-
isWriteable
public boolean isWriteable()
- Specified by:
isWriteable
in interfaceDocFormatProvider
- Returns:
- True if this format supports writing, False if not.
-
-