String path = resource.toString();
    public void notify( URL resource, int total, int count )    {        if( isAnt() || ( null != System.getProperty( "dpml.spawn" ) ) )        {            if( count == 0 )            {                info( "downloading [" + resource + "] (" + getFranctionalValue( total ) + ")" );            }            return;        }        if( isInfoEnabled() )        {            String max = getFranctionalValue( total );            String value = getFranctionalValue( count );            int pad = max.length() - value.length();            String level = getLogHeader();            String process = getProcessHeader();            StringBuffer buffer = new StringBuffer( process + level );            String path = resource.toString();            String name = path.substring( path.lastIndexOf( '/' ) + 1 );            buffer.append( "(" + m_logger.getName() + "): " );            buffer.append( "retrieving: " + name + " " );            for( int i=0; i < pad; i++ )            {                buffer.append( " " );            }            buffer.append( value );            buffer.append( "k/" );            if( total == 0 )            {                buffer.append( "?" );            }            else            {                buffer.append( max );                buffer.append( "k\r" );            }            if( total == count )            {                System.out.println( buffer.toString() );            }            else            {                System.out.print( buffer.toString() );            }        }    }