|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs2.provider.AbstractVfsComponent
public abstract class AbstractVfsComponent
A partial VfsComponent implementation.
| Constructor Summary | |
|---|---|
AbstractVfsComponent()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the provider. |
protected VfsComponentContext |
getContext()
Returns the context for this provider. |
protected org.apache.commons.logging.Log |
getLogger()
Returns the logger for this file system to use. |
void |
init()
Initialises the component. |
void |
setContext(VfsComponentContext context)
Sets the context for this file system provider. |
void |
setLogger(org.apache.commons.logging.Log log)
Sets the Logger to use for the component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractVfsComponent()
| Method Detail |
|---|
public final void setLogger(org.apache.commons.logging.Log log)
setLogger in interface VfsComponentlog - The Log to use.public final void setContext(VfsComponentContext context)
setContext in interface VfsComponentcontext - The VfsComponentContext.
public void init()
throws FileSystemException
init in interface VfsComponentFileSystemException - if an error occurs.public void close()
close in interface VfsComponentprotected final org.apache.commons.logging.Log getLogger()
protected final VfsComponentContext getContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||