public class ArchiveSymlink extends AbstractArchiveComponent
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
linktarget
The target of the symlink.
|
| Constructor and Description |
|---|
ArchiveSymlink(java.lang.String name,
java.lang.String linktarget)
Creates a symlink with the specified path and target.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ArchiveComponentVisitor visitor)
calls back to the appropriate handle-method.
|
java.lang.String |
getLinktarget()
Return the linktarget.
|
getNamepublic ArchiveSymlink(java.lang.String name,
java.lang.String linktarget)
name - the name of the symlinklinktarget - the target of the symlinkpublic java.lang.String getLinktarget()
public void accept(ArchiveComponentVisitor visitor) throws java.io.FileNotFoundException, java.io.IOException
Visitablevisitor - the visiting visitorjava.io.FileNotFoundExceptionjava.io.IOException