Top Description Fields Constructors Methods
org.apache.tools.ant.util

public Class SymbolicLinkUtils

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
java.io.File, .FileNotFoundException, .IOException, org.apache.tools.ant.BuildException, .Project, .Task, org.apache.tools.ant.taskdefs.Execute

Deprecated

Starting Ant 1.10.2, this class is now deprecated in favour of the Java java.nio.file.Files APIs introduced in Java 7, for dealing with symbolic links

Contains methods related to symbolic links - or what Ant thinks is a symbolic link based on the absent support for them in Java.
Since
Ant 1.8.0

Field Summary

Modifier and TypeField and Description
private static final FileUtils
private static final SymbolicLinkUtils
PRIMARY_INSTANCE

Shared instance.

Constructor Summary

AccessConstructor and Description
protected
SymbolicLinkUtils()

Empty constructor.

Method Summary

Modifier and TypeMethod and Description
public static SymbolicLinkUtils

Returns:

an instance of SymbolicLinkUtils.
getSymbolicLinkUtils
()

Deprecated as a consequence of SymbolicLinkUtils being deprecated.
Method to retrieve The SymbolicLinkUtils, which is shared by all users of this method.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FILE_UTILSback to summary
private static final FileUtils FILE_UTILS
PRIMARY_INSTANCEback to summary
private static final SymbolicLinkUtils PRIMARY_INSTANCE

Deprecated

as a consequence of SymbolicLinkUtils being deprecated. See corresponding docs for further information.

Shared instance.

Constructor Detail

SymbolicLinkUtilsback to summary
protected SymbolicLinkUtils()

Empty constructor.

Method Detail

getSymbolicLinkUtilsback to summary
public static SymbolicLinkUtils getSymbolicLinkUtils()

Deprecated

as a consequence of SymbolicLinkUtils being deprecated. See corresponding docs for further information.

Method to retrieve The SymbolicLinkUtils, which is shared by all users of this method.

Returns:SymbolicLinkUtils

an instance of SymbolicLinkUtils.