|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.enableit.db.darrt.DataParserFactory
| Constructor Summary | |
DataParserFactory()
|
|
| Method Summary | |
static org.enableit.db.darrt.DataParser |
getInstance(java.io.File file)
Returns a procesor based on the file to process. |
static org.enableit.db.darrt.DataParser |
getInstance(java.lang.String fileName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataParserFactory()
| Method Detail |
public static org.enableit.db.darrt.DataParser getInstance(java.io.File file)
Implementation Note: The processor required is determined by the file's extension.
file - File to process.
java.lang.IllegalArgumentException - If file is null or no processor is known to
handle this file type.
public static org.enableit.db.darrt.DataParser getInstance(java.lang.String fileName)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||