public abstract class AbstractVfsComponent extends Object implements VfsComponent
VfsComponent implementation.| Constructor and Description |
|---|
AbstractVfsComponent()
Constructs a new instance for subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
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()
Initializes 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.
|
public AbstractVfsComponent()
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface VfsComponentprotected final VfsComponentContext getContext()
protected final org.apache.commons.logging.Log getLogger()
public void init()
throws FileSystemException
init in interface VfsComponentFileSystemException - if an error occurs.public final void setContext(VfsComponentContext context)
setContext in interface VfsComponentcontext - The VfsComponentContext.public final void setLogger(org.apache.commons.logging.Log log)
setLogger in interface VfsComponentlog - The Log to use.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.