FileDocCategorySizeDatePackage
StringValue.javaAPI DocAndroid 1.5 API1837Wed May 06 22:41:16 BST 2009com.vladium.emma.ant

StringValue

public abstract class StringValue extends Object
author
Vlad Roubtsov, (C) 2003

Fields Summary
protected final org.apache.tools.ant.Task
m_task
private StringBuffer
m_value
Constructors Summary
protected StringValue(org.apache.tools.ant.Task task)

        if (task == null) throw new IllegalArgumentException ("null input: task");
        
        m_task = task;
    
Methods Summary
public voidappendValue(java.lang.String value, java.lang.String separator)

        if ((value != null) && (value.length () > 0))
        {
            if (m_value == null)
            {
                m_value = new StringBuffer (value); 
            }
            else
            {
                m_value.append (separator);
                m_value.append (value); // no trailing separator kept
            }
        }
    
public java.lang.StringgetValue()

        return m_value != null ? m_value.toString () : null;