org.apache.tools.ant.util.java15

Class ProxyDiagnostics


public class ProxyDiagnostics
extends java.lang.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 String
DEFAULT_DESTINATION

Constructor Summary

ProxyDiagnostics()
create a proxy diagnostics tool bound to DEFAULT_DESTINATION
ProxyDiagnostics(String destination)
create a diagnostics binding for a specific URI

Method Summary

String
toString()
Get the diagnostics for proxy information.

Field Details

DEFAULT_DESTINATION

public static final String DEFAULT_DESTINATION

Constructor Details

ProxyDiagnostics

public ProxyDiagnostics()

ProxyDiagnostics

public ProxyDiagnostics(String destination)
create a diagnostics binding for a specific URI
Parameters:
destination - dest to bind to

Method Details

toString

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