Revision 11126 trunk/libraries/libGPE/src/org/gvsig/gpe/GPERegister.java
GPERegister.java | ||
---|---|---|
48 | 48 |
* |
49 | 49 |
* $Id$ |
50 | 50 |
* $Log$ |
51 |
* Revision 1.2 2007-04-11 08:54:24 jorpiell |
|
51 |
* Revision 1.3 2007-04-11 11:10:27 jorpiell |
|
52 |
* Cambiado el nombre de getDriver a GetParser |
|
53 |
* |
|
54 |
* Revision 1.2 2007/04/11 08:54:24 jorpiell |
|
52 | 55 |
* A?adidos algunos comentarios |
53 | 56 |
* |
54 | 57 |
* Revision 1.1 2007/04/11 08:52:55 jorpiell |
... | ... | |
125 | 128 |
} |
126 | 129 |
|
127 | 130 |
/** |
128 |
* Gets the driver that can open the file (if it exists)
|
|
131 |
* Gets the parser that can open the file (if it exists)
|
|
129 | 132 |
* @param file |
130 | 133 |
* File to open |
131 | 134 |
* @return |
132 | 135 |
* Null if the driver doesn't exist |
133 | 136 |
*/ |
134 |
private static GPEParser getDriver(File file){
|
|
137 |
private static GPEParser getParser(File file){
|
|
135 | 138 |
for (int i=0 ; i<parsers.size() ; i++){ |
136 | 139 |
GPEParser parser = (GPEParser)parsers.get(i); |
137 | 140 |
if (parser.accept(file)){ |
Also available in: Unified diff