FileDocCategorySizeDatePackage
FStatP4OutputHandler.javaAPI DocApache Ant 1.702121Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.taskdefs.optional.perforce

FStatP4OutputHandler

public class FStatP4OutputHandler extends P4HandlerAdapter
FStatP4OutputHandler - spezialied Perforce output handler able to sort files recognized as managed by Perforce and files not managed by Perforce in the output

Fields Summary
private P4Fstat
parent
private ArrayList
existing
private ArrayList
nonExisting
private static org.apache.oro.text.perl.Perl5Util
util
Constructors Summary
public FStatP4OutputHandler(P4Fstat parent)


       
        this.parent = parent;
    
Methods Summary
public java.util.ArrayListgetExisting()

        return existing;
    
public java.util.ArrayListgetNonExisting()

        return nonExisting;
    
public voidprocess(java.lang.String line)

        if (util.match("/^... clientFile (.+)$/", line)) {
            String f = util.group(1);
            existing.add(f);
        } else if (util.match("/^(.+) - no such file/", line)) {
            String f = util.group(1);
            nonExisting.add(f);
        }
        parent.log(parent.util.substitute("s/^.*: //", line),
                   Project.MSG_VERBOSE);