public class ZipSymlinkResource extends ZipResource implements org.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier
ZipResource
that represents symbolic link.Constructor and Description |
---|
ZipSymlinkResource(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry,
org.codehaus.plexus.components.io.functions.InputStreamTransformer streamTransformer) |
Modifier and Type | Method and Description |
---|---|
String |
getSymlinkDestination() |
boolean |
isSymbolicLink() |
getAttributes, getContents, getURL, setAttributes
public ZipSymlinkResource(org.apache.commons.compress.archivers.zip.ZipFile zipFile, org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry, org.codehaus.plexus.components.io.functions.InputStreamTransformer streamTransformer)
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–2018 Codehaus Plexus. All rights reserved.