org.opengis.annotation
Class ClassIndexTest
Object
ClassIndexTest
- All Implemented Interfaces:
- FileFilter
public final class ClassIndexTest
- extends Object
- implements FileFilter
Generates the list of every interfaces or code lists
derived from an ISO specification. Then there is a choice:
This class is designated for working with the Maven directory layout. If it doesn't
recognize that layout, then the test is skipped.
- Since:
- 3.1
|
Method Summary |
boolean |
accept(File file)
Returns true if the given file is a directory or a .class file. |
void |
generateOrVerifyIndex()
Verifies the index (if it exists) or generates the index (if it doesn't exist). |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDEX_FILENAME
public static final String INDEX_FILENAME
- The name of the index file to read or generate. This file will be located in the
"
org/opengis/annotation" directory.
- See Also:
- Constant Field Values
ClassIndexTest
public ClassIndexTest()
generateOrVerifyIndex
public void generateOrVerifyIndex()
throws IOException
- Verifies the index (if it exists) or generates the index (if it doesn't exist).
- Throws:
IOException - If an error occurred while reading the existing
"class-index.properties" file.
accept
public boolean accept(File file)
- Returns
true if the given file is a directory or a .class file.
This method is used in order to filter the directory of class files.
- Specified by:
accept in interface FileFilter
- Parameters:
file - The file to test.
- Returns:
true if the given file is a directory or a class file.
Copyright © 1994-2013 Open Geospatial Consortium. All Rights Reserved.