public class TarSymlinkResource extends TarResource implements org.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier
TarResource
that represents symbolic link.Constructor and Description |
---|
TarSymlinkResource(TarFile tarFile,
org.apache.commons.compress.archivers.tar.TarArchiveEntry entry) |
Modifier and Type | Method and Description |
---|---|
String |
getSymlinkDestination() |
boolean |
isSymbolicLink() |
getAttributes, getContents, getURL, setAttributes
public TarSymlinkResource(TarFile tarFile, org.apache.commons.compress.archivers.tar.TarArchiveEntry entry)
public String getSymlinkDestination() throws IOException
getSymlinkDestination
in interface org.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier
IOException
public boolean isSymbolicLink()
isSymbolicLink
in interface org.codehaus.plexus.components.io.fileselectors.FileInfo
isSymbolicLink
in class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
Copyright © 2001–2020 Codehaus Plexus. All rights reserved.