|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceHandler
Field Summary | |
---|---|
static String |
ROLE
Deprecated. |
Method Summary | |
---|---|
void |
addFactory(String protocol,
SourceFactory factory)
Deprecated. Add a new source factory. |
Source |
getSource(Environment environment,
String location)
Deprecated. Get a Source object. |
Source |
getSource(Environment environment,
URL base,
String location)
Deprecated. Get a Source object. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Source getSource(Environment environment, String location) throws ProcessingException, MalformedURLException, IOException
Source
object.
environment
- This is optional.
ProcessingException
MalformedURLException
IOException
Source getSource(Environment environment, URL base, String location) throws ProcessingException, MalformedURLException, IOException
Source
object.
environment
- This is optional.
ProcessingException
MalformedURLException
IOException
void addFactory(String protocol, SourceFactory factory) throws ProcessingException
Composable
,
Contextualizable
and LogEnabled
.
When the handler is disposed it should also test the
Disposable
interface.
If a factory with the protocol already exists it is
overridden by this new factory.
ProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |