Package ai.djl.repository
Interface RepositoryFactory
public interface RepositoryFactory
A interface responsible to create
Repository
instances.-
Method Summary
Modifier and TypeMethodDescriptionReturns a set of URI scheme that theRepositoryFactory
supports.newInstance
(String name, URI uri) Creates a new instance of a repository with a name and url.
-
Method Details
-
newInstance
Creates a new instance of a repository with a name and url.- Parameters:
name
- the repository nameuri
- the repository location- Returns:
- the new repository
-
getSupportedScheme
Returns a set of URI scheme that theRepositoryFactory
supports.- Returns:
- a set of URI scheme that the
RepositoryFactory
supports
-