lightbulb_outline Please take our October 2018 developer survey. Start survey

LinkOption

public final enum LinkOption
extends Enum<LinkOption> implements OpenOption, CopyOption

java.lang.Object
   ↳ java.lang.Enum<java.nio.file.LinkOption>
     ↳ java.nio.file.LinkOption


Defines the options as to how symbolic links are handled.

Summary

Enum values

LinkOption  NOFOLLOW_LINKS

Do not follow symbolic links. 

Public methods

static LinkOption valueOf(String name)
static final LinkOption[] values()

Inherited methods

Enum values

Public methods

valueOf

added in API level 26
public static LinkOption valueOf (String name)

Parameters
name String

Returns
LinkOption

values

added in API level 26
public static final LinkOption[] values ()

Returns
LinkOption[]