|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Importer
The basic functionalities an importer class has to implement.
| Nested Class Summary | |
|---|---|
static class |
Importer.HandleStatus
|
| Method Summary | |
|---|---|
Importer.HandleStatus |
canHandle(java.io.File file)
Inspects the file or directory and judges to what extent it can handle it. |
java.lang.String |
getName()
Return a localized display name for this importer. |
void |
read(java.io.File file)
If the argument is a file, it reads the content of the file and stores the information it can retrieve. |
| Method Detail |
|---|
Importer.HandleStatus canHandle(java.io.File file)
file - File or Directory to inspect
void read(java.io.File file)
If the argument is a directory, recursively inspect all files and extract as much information as possible and store it in the database.
file - or directory to handlejava.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||