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
Fields Modifier and Type Field Description private java.io.File
symnlinkDestination
-
Fields inherited from interface org.codehaus.plexus.components.io.resources.PlexusIoResource
UNKNOWN_MODIFICATION_DATE, UNKNOWN_RESOURCE_SIZE
-
-
Constructor Summary
Constructors Constructor Description PlexusIoSymlinkResource(java.io.File symlinkfile, java.lang.String name, PlexusIoResourceAttributes attrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSymlinkDestination()
-
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
-
-
-
-
Constructor Detail
-
PlexusIoSymlinkResource
PlexusIoSymlinkResource(@Nonnull java.io.File symlinkfile, java.lang.String name, @Nonnull PlexusIoResourceAttributes attrs) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getSymlinkDestination
public java.lang.String getSymlinkDestination() throws java.io.IOException
- Specified by:
getSymlinkDestination
in interfaceSymlinkDestinationSupplier
- Throws:
java.io.IOException
-
-