graveyard/tools/org/apache/axis/tools/common/CParsingTool.java
/**
     * Read in any include files before the main processing of the tool
     * is done. This constructs the Headers.
     */
Read in any include files before the main processing of the tool
is done. This constructs the Headers.
Read in any include files before the main processing of the tool is done . This constructs the Headers .
protected Headers preparseHeaders(String option) throws Exception {
		Headers headers = new Headers();
		Object o = Options.getOption(option);
		if (null != o) {
			Utils.outputDebugString("Pre-parsing headers...");
			List includeList;
			if (o instanceof List)
				includeList = (List) o;
			else {
				includeList = new ArrayList();
				includeList.add(o);
			}
			Iterator it = includeList.iterator();
			while (it.hasNext()) {
				File include = new File((String) it.next());
				if (!include.isDirectory())
					Utils.rude("Bad include directory " + include);
				DirectoryTree tree =
					new DirectoryTree(
						headers,
						new HashSet(
							Arrays.asList(new Object[] { "hpp", "h" })));
				tree.walkTree(include, null, 0);
			}
			Utils.outputDebugString("Parsing files...");
		}
		return headers;
	}
protected Headers preparseHeaders ( String option ) throws Exception { Headers headers = new Headers ( ) ; Object o = Options . getOption ( option ) ; if ( null != o ) { Utils . outputDebugString ( "Pre-parsing headers..." ) ; List includeList ; if ( o instanceof List ) includeList = ( List ) o ; else { includeList = new ArrayList ( ) ; includeList . add ( o ) ; } Iterator it = includeList . iterator ( ) ; while ( it . hasNext ( ) ) { File include = new File ( ( String ) it . next ( ) ) ; if ( ! include . isDirectory ( ) ) Utils . rude ( "Bad include directory " + include ) ; DirectoryTree tree = new DirectoryTree ( headers , new HashSet ( Arrays . asList ( new Object [ ] { "hpp" , "h" } ) ) ) ; tree . walkTree ( include , null , 0 ) ; } Utils . outputDebugString ( "Parsing files..." ) ; } return headers ; }
Read in any include files before the main processing of the tool
 is done.
Read in any include files before the main processing of the tool is done .