|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.contactdb.GaimImporter
public class GaimImporter
Import log files as generated by gaim. As this is not implemented it always returns no when asked if it can handle a file or directory.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface ch.claudio.contactdb.Importer |
---|
Importer.HandleStatus |
Constructor Summary | |
---|---|
GaimImporter(Model m)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaimImporter(Model m)
m
- Model into which to import the data.Method Detail |
---|
public Importer.HandleStatus canHandle(java.io.File file)
Importer
canHandle
in interface Importer
file
- File or Directory to inspect
Importer.canHandle(java.io.File)
public void read(java.io.File file)
Importer
If the argument is a directory, recursively inspect all files and extract as much information as possible and store it in the database.
read
in interface Importer
file
- or directory to handlech.claudio.contactdb.Importer#read(java.io.File,Model)
public java.lang.String getName()
Importer
getName
in interface Importer
Importer.getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |