Class SymbolicLink
java.lang.Object
org.fedoraproject.xmvn.tools.install.File
org.fedoraproject.xmvn.tools.install.SymbolicLink
A symbolic link installed in target package.
- Author:
- Mikolaj Izdebski
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolicLink
(Path targetPath, Path referencedPath) Create a new symbolic link object. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
installContents
(Path targetAbsolutePath) Install the file into specified location.Methods inherited from class org.fedoraproject.xmvn.tools.install.File
equals, getAccessMode, getDescriptor, getDescriptorExtra, getTargetPath, hashCode, install
-
Constructor Details
-
SymbolicLink
Create a new symbolic link object.- Parameters:
targetPath
- location where the symbolic link will be placed (relative to install root)referencedPath
- path referenced by this symlink (i.e. contents of the symlink)
-
-
Method Details
-
installContents
Description copied from class:File
Install the file into specified location.Implementations of this method can assume that all parent directory of target file already exists. Access mode of target file doesn't have to be set as it will be manipulated with other means.
- Specified by:
installContents
in classFile
- Parameters:
targetAbsolutePath
- absolute path to the target file- Throws:
IOException
-