|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs.provider.AbstractVfsComponent
org.apache.commons.vfs.provider.AbstractVfsContainer
public abstract class AbstractVfsContainer
A VfsComponent that contains a set of sub-components.
| Field Summary | |
|---|---|
private java.util.ArrayList |
components
The components contained by this component. |
| Constructor Summary | |
|---|---|
AbstractVfsContainer()
|
|
| Method Summary | |
|---|---|
protected void |
addComponent(java.lang.Object component)
Adds a sub-component to this component. |
void |
close()
Closes the sub-components of this component. |
protected void |
removeComponent(java.lang.Object component)
Removes a sub-component from this component. |
| Methods inherited from class org.apache.commons.vfs.provider.AbstractVfsComponent |
|---|
getContext, getLogger, init, setContext, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.ArrayList components
| Constructor Detail |
|---|
public AbstractVfsContainer()
| Method Detail |
|---|
protected void addComponent(java.lang.Object component)
throws FileSystemException
VfsComponent, it is initialised. All sub-components are closed
when this component is closed.
FileSystemExceptionprotected void removeComponent(java.lang.Object component)
public void close()
close in interface VfsComponentclose in class AbstractVfsComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||