ShellLink

class ShellLink

Constructors

Link copied to clipboard
constructor()
constructor(file: String)
constructor(file: File)
constructor(file: Path)
constructor(in: InputStream)
constructor(reader: ByteReader)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

linkFileSource is the location where the lnk file is stored used only to build relative path and is not serialized

Link copied to clipboard
Link copied to clipboard
var name: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun saveTo(path: String?): ShellLink
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setTarget(target: String): ShellLink

Set path to target file or directory. Function accepts local paths and network paths. Environment variables are accepted but resolved here and aren't kept in the link.

Link copied to clipboard