public interface EntitySource
Interface for entity providers.
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getMetadata()
Get metadata from this entity source.
|
String |
getName()
Get the name of this entity source.
|
Set<EntityType> |
getTypes()
Get the entity types produced by this source.
|
ObjectStream<Entity> |
openStream()
Get the data from this entity source.
|
@Nonnull String getName()
Get the name of this entity source.
@Nonnull Set<EntityType> getTypes()
Get the entity types produced by this source.
@Nonnull ObjectStream<Entity> openStream() throws IOException
Get the data from this entity source.
IOException