|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.contactdb.LicqImporter
public class LicqImporter
Import history files written by the licq program.
Note: Today licq supports more than just ICQ. As I stopped using licq before that change I do not know if logs from e.g. MSN chats differ and thus might not be recognized by this importer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface ch.claudio.contactdb.Importer |
---|
Importer.HandleStatus |
Constructor Summary | |
---|---|
LicqImporter(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. |
static void |
main(java.lang.String[] args)
Print license. |
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 LicqImporter(Model m)
m
- Model to be used to store 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 handleImporter.read(java.io.File)
public java.lang.String getName()
Importer
getName
in interface Importer
Importer.getName()
public static void main(java.lang.String[] args)
args
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |