Class ZipSymlinkResource

java.lang.Object
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
org.codehaus.plexus.archiver.zip.ZipResource
org.codehaus.plexus.archiver.zip.ZipSymlinkResource
All Implemented Interfaces:
org.codehaus.plexus.components.io.fileselectors.FileInfo, org.codehaus.plexus.components.io.functions.ContentSupplier, org.codehaus.plexus.components.io.functions.NameSupplier, org.codehaus.plexus.components.io.functions.ResourceAttributeSupplier, org.codehaus.plexus.components.io.functions.SizeSupplier, org.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier, org.codehaus.plexus.components.io.resources.PlexusIoResource

public class ZipSymlinkResource extends ZipResource implements org.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier
A ZipResource that represents symbolic link.
  • Field Summary

    Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource

    UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     

    Methods inherited from class org.codehaus.plexus.archiver.zip.ZipResource

    getAttributes, getContents, getURL, setAttributes

    Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource

    getLastModified, getName, getSize, isDirectory, isExisting, isFile

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ZipSymlinkResource

      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)
  • Method Details

    • getSymlinkDestination

      public String getSymlinkDestination() throws IOException
      Specified by:
      getSymlinkDestination in interface org.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier
      Throws:
      IOException
    • isSymbolicLink

      public boolean isSymbolicLink()
      Specified by:
      isSymbolicLink in interface org.codehaus.plexus.components.io.fileselectors.FileInfo
      Overrides:
      isSymbolicLink in class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource