Class PlexusIoVirtualSymlinkResource

  • 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 PlexusIoVirtualSymlinkResource
    extends PlexusIoVirtualFileResource
    implements org.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier
    A symlink that does not necessarily exist (anywhere).
    • Constructor Detail

      • PlexusIoVirtualSymlinkResource

        public PlexusIoVirtualSymlinkResource​(File symlinkFile,
                                              String symnlinkDestination)
    • Method Detail

      • 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 PlexusIoVirtualFileResource