-
- All Implemented Interfaces:
public abstract class GiniCoreAPI<DM extends DocumentManager<DR, E>, DR extends DocumentRepository<E>, E extends ExtractionsContainer>The GiniCoreAPI instance is the main entry point when interacting with the Gini API. You must hold a reference to its instance as long as you interact with the Gini API.
To configure create an instance use the GiniCoreAPIBuilder.
-
-
Field Summary
Fields Modifier and Type Field Description private final DMdocumentManagerprivate final CredentialsStorecredentialsStore
-
Constructor Summary
Constructors Constructor Description GiniCoreAPI(DM documentManager, CredentialsStore credentialsStore)
-
Method Summary
Modifier and Type Method Description final DMgetDocumentManager()The DocumentManager provides high level methods to handle document related tasks easily. final CredentialsStoregetCredentialsStore()CredentialsStore implementation which is used to store user information. -
-
Constructor Detail
-
GiniCoreAPI
GiniCoreAPI(DM documentManager, CredentialsStore credentialsStore)
-
-
Method Detail
-
getDocumentManager
final DM getDocumentManager()
The DocumentManager provides high level methods to handle document related tasks easily.
-
getCredentialsStore
final CredentialsStore getCredentialsStore()
CredentialsStore implementation which is used to store user information. Handy to get information on the "anonymous" user.
-
-
-
-