public abstract class CompositePathResourceBase extends Object implements PathResourceImplementation
PROP_ROOTS
Constructor and Description |
---|
CompositePathResourceBase() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds property change listener.
|
protected abstract ClassPathImplementation |
createContent()
Creates the array of the roots of PathResource.
|
protected void |
firePropertyChange(String propName,
Object oldValue,
Object newValue)
Fires PropertyChangeEvent
|
ClassPathImplementation |
getContent()
Returns the ClassPathImplementation representing the content of this PathResourceImplementation
|
URL[] |
getRoots()
Returns the roots of the PathResource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes PropertyChangeListener
|
public final URL[] getRoots()
getRoots
in interface PathResourceImplementation
public final ClassPathImplementation getContent()
getContent
in interface PathResourceImplementation
public final void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PathResourceImplementation
listener
- public final void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PathResourceImplementation
listener
- protected final void firePropertyChange(String propName, Object oldValue, Object newValue)
propName
- name of propertyoldValue
- old property value or nullnewValue
- new property value or nullprotected abstract ClassPathImplementation createContent()