Serializable
, Loader
public class ZooKeeperLoader extends Object implements Loader
Constructor | Description |
---|---|
ZooKeeperLoader() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
accept(URI uri) |
Indicates wether this Loader does accept the URL, guessing the content type from it.
|
String |
defaultSpecFor(String urlPrefix) |
Returns the default URI specification for a given url resource, that can be handled by this loader.
|
void |
load(Properties result,
URI uri) |
public boolean accept(URI uri)
Loader
public void load(Properties result, URI uri) throws IOException
Loader
load
in interface Loader
result
- the resulting properties where to load the uri
uri
- the URI
from where to load the properties.IOException
- if there is some I/O error during the load.public String defaultSpecFor(String urlPrefix)
Loader
defaultSpecFor
in interface Loader
urlPrefix
- the prefix identifying the url resource.Copyright © 2012–2020 Luigi R. Viggiano. All rights reserved.