|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.japtproxy.fetcher.FetcherFactory
public final class FetcherFactory
Factory class used to initialize fetcher classes and return their instances.
| Constructor Summary | |
|---|---|
FetcherFactory()
|
|
| Method Summary | |
|---|---|
Fetcher |
getInstance(java.net.URL targetResource)
Initializes an fetcher based on the given targetResource. |
void |
setFetchers(java.util.Map<java.lang.String,Fetcher> fetchers)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FetcherFactory()
| Method Detail |
|---|
public void setFetchers(java.util.Map<java.lang.String,Fetcher> fetchers)
public Fetcher getInstance(java.net.URL targetResource)
targetResource - the target resource
null if no fetcher
was found for the specivied targetResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||