Class PlexusIoSymlinkResource
java.lang.Object
org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
org.codehaus.plexus.components.io.resources.PlexusIoFileResource
org.codehaus.plexus.components.io.resources.PlexusIoSymlinkResource
- All Implemented Interfaces:
FileInfo
,ContentSupplier
,FileSupplier
,NameSupplier
,ResourceAttributeSupplier
,SizeSupplier
,SymlinkDestinationSupplier
,PlexusIoResource
public class PlexusIoSymlinkResource
extends PlexusIoFileResource
implements SymlinkDestinationSupplier
-
Field Summary
FieldsFields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource
UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionPlexusIoSymlinkResource
(File symlinkfile, String name, PlexusIoResourceAttributes attrs) -
Method Summary
Methods inherited from class org.codehaus.plexus.components.io.resources.PlexusIoFileResource
getAttributes, getContents, getFile, getLastModified, getName, getSize, getURL, isDirectory, isExisting, isFile, isSymbolicLink
Methods inherited from class org.codehaus.plexus.components.io.resources.AbstractPlexusIoResource
getName
-
Field Details
-
symnlinkDestination
-
-
Constructor Details
-
PlexusIoSymlinkResource
PlexusIoSymlinkResource(@Nonnull File symlinkfile, String name, @Nonnull PlexusIoResourceAttributes attrs) throws IOException - Throws:
IOException
-
-
Method Details
-
getSymlinkDestination
- Specified by:
getSymlinkDestination
in interfaceSymlinkDestinationSupplier
- Throws:
IOException
-