org.apache.tools.ant.util.java15

Class ProxyDiagnostics

public class ProxyDiagnostics extends Object

This class exists to create a string that tells diagnostics about the current state of proxy diagnostics. It does this in its toString operator. Java1.5+ is needed to compile this class; its interface is classic typeless Java.

Since: Ant 1.7

Field Summary
static StringDEFAULT_DESTINATION
{@value}
Constructor Summary
ProxyDiagnostics(String destination)
create a diagnostics binding for a specific URI
ProxyDiagnostics()
create a proxy diagnostics tool bound to {@link #DEFAULT_DESTINATION}
Method Summary
StringtoString()
Get the diagnostics for proxy information.

Field Detail

DEFAULT_DESTINATION

public static final String DEFAULT_DESTINATION
{@value}

Constructor Detail

ProxyDiagnostics

public ProxyDiagnostics(String destination)
create a diagnostics binding for a specific URI

Parameters: destination dest to bind to

Throws: BuildException if the URI is malformed.

ProxyDiagnostics

public ProxyDiagnostics()
create a proxy diagnostics tool bound to {@link #DEFAULT_DESTINATION}

Method Detail

toString

public String toString()
Get the diagnostics for proxy information.

Returns: the information.