Class PlexusIoVirtualSymlinkResource
java.lang.Object
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
org.codehaus.plexus.archiver.resources.PlexusIoVirtualFileResource
org.codehaus.plexus.archiver.resources.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).
-
Field Summary
Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource
UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionPlexusIoVirtualSymlinkResource(File symlinkFile, String symnlinkDestination) -
Method Summary
Methods inherited from class org.codehaus.plexus.archiver.resources.PlexusIoVirtualFileResource
getAttributes, getContents, getFile, getLastModified, getName, getSize, getURL, isDirectory, isExisting, isFileMethods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
getName
-
Constructor Details
-
PlexusIoVirtualSymlinkResource
-
-
Method Details
-
getSymlinkDestination
- Specified by:
getSymlinkDestinationin interfaceorg.codehaus.plexus.components.io.functions.SymlinkDestinationSupplier- Throws:
IOException
-
isSymbolicLink
public boolean isSymbolicLink()- Specified by:
isSymbolicLinkin interfaceorg.codehaus.plexus.components.io.fileselectors.FileInfo- Overrides:
isSymbolicLinkin classPlexusIoVirtualFileResource
-