public abstract class AbstractSelfFeedingLoader extends Object
DataProvidersManager
with a supported names
regular expression for DataProvidersManager.feed(String, DataLoader)
.Constructor and Description |
---|
AbstractSelfFeedingLoader(String supportedNames,
DataProvidersManager manager)
Create an abstract data loader that can feed itself.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
feed(DataLoader loader)
Feed the given loader with
getDataProvidersManager() and getSupportedNames() . |
protected DataProvidersManager |
getDataProvidersManager()
Get the data provider manager.
|
protected String |
getSupportedNames()
Get the supported names regular expression.
|
protected void |
setSupportedNames(String supportedNames)
Set the supported names regular expression.
|
public AbstractSelfFeedingLoader(String supportedNames, DataProvidersManager manager)
supportedNames
- regular expression. See DataProvidersManager.feed(String,
DataLoader)
.manager
- the source of auxiliary data files.protected boolean feed(DataLoader loader)
getDataProvidersManager()
and getSupportedNames()
.loader
- to feed.DataProvidersManager.feed(String,
DataLoader)
.protected String getSupportedNames()
DataProvidersManager.feed(String, DataLoader)
protected void setSupportedNames(String supportedNames)
feed(DataLoader)
and it is
not properly synchronized.supportedNames
- regular expression.protected DataProvidersManager getDataProvidersManager()
Copyright © 2002-2020 CS Group. All rights reserved.