mil.dod.th.ose.lexicon.doc/src/mil/dod/th/ose/lexicon/doc/main/LexiconDocGeneratorMain.java
private List<File> createXsdFileList(final File xsdFilesDir)
    {
        if (!xsdFilesDir.exists() || !xsdFilesDir.isDirectory())
        {
            throw new IllegalArgumentException(String.format("Invalid path specified for XSD file location: %s", 
                    xsdFilesDir.getAbsolutePath()));
        }
        
        @SuppressWarnings("unchecked")
        final List<File> xsdFiles = new ArrayList<File>(FileUtils.listFiles(xsdFilesDir, new String[]{"xsd"}, true));
        
        return xsdFiles;
    }
/**
     * Creates a list of all XSD files contained within the specified directory.
     * 
     * @param xsdFilesDir
     *      The directory where XSD files are located.
     * @return
     *      A list of files which represents all XSD files within the specified directory.
     */
Creates a list of all XSD files contained within the specified directory.

@param xsdFilesDir
The directory where XSD files are located.
@return
A list of files which represents all XSD files within the specified directory.
Creates a list of all XSD files contained within the specified directory . @param xsdFilesDir The directory where XSD files are located . @return A list of files which represents all XSD files within the specified directory .
private List<File> createXsdFileList(final File xsdFilesDir)
    {
        if (!xsdFilesDir.exists() || !xsdFilesDir.isDirectory())
        {
            throw new IllegalArgumentException(String.format("Invalid path specified for XSD file location: %s", 
                    xsdFilesDir.getAbsolutePath()));
        }
        @SuppressWarnings("unchecked")
        final List<File> xsdFiles = new ArrayList<File>(FileUtils.listFiles(xsdFilesDir, new String[]{"xsd"}, true));
        return xsdFiles;
    }
private List < File > createXsdFileList ( final File xsdFilesDir ) { if ( ! xsdFilesDir . exists ( ) || ! xsdFilesDir . isDirectory ( ) ) { throw new IllegalArgumentException ( String . format ( "Invalid path specified for XSD file location: %s" , xsdFilesDir . getAbsolutePath ( ) ) ) ; } @ SuppressWarnings ( "unchecked" ) final List < File > xsdFiles = new ArrayList < File > ( FileUtils . listFiles ( xsdFilesDir , new String [ ] { "xsd" } , true ) ) ; return xsdFiles ; }
Creates a list of all XSD files contained within the specified directory.
Creates a list of all XSD files contained within the specified directory .