org.apache.tuscany.sca.cpp.tools.common
Class Headers

java.lang.Object
  extended byorg.apache.tuscany.sca.cpp.tools.common.Headers
All Implemented Interfaces:
FileActor

public class Headers
extends java.lang.Object
implements FileActor


Constructor Summary
Headers()
           
 
Method Summary
 void actOnFile(java.io.File header, java.io.File ignored, int depth)
           
 boolean failed()
           
 java.util.List getAllMethods()
          Tuscany change - a method to get all the method signatures at once
 java.util.List getMethods(java.lang.String method)
           
 boolean isClassName(java.lang.String text)
           
 boolean isInstanceMethod(Signature sign)
           
 boolean isStaticMethod(Signature sign)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Headers

public Headers()
Method Detail

actOnFile

public void actOnFile(java.io.File header,
                      java.io.File ignored,
                      int depth)
               throws java.lang.Exception
Specified by:
actOnFile in interface FileActor
Throws:
java.lang.Exception

failed

public boolean failed()

isInstanceMethod

public boolean isInstanceMethod(Signature sign)

isStaticMethod

public boolean isStaticMethod(Signature sign)

getMethods

public java.util.List getMethods(java.lang.String method)

getAllMethods

public java.util.List getAllMethods()
Tuscany change - a method to get all the method signatures at once


isClassName

public boolean isClassName(java.lang.String text)


Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved