|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.loader.LoaderPlainText
public class LoaderPlainText
Class for loading the plain text files.
Constructor Summary | |
---|---|
LoaderPlainText()
|
Method Summary | |
---|---|
protected java.lang.Void |
doInBackground()
|
java.lang.String |
loadFile(java.io.File f)
Takes one file and makes a string from ites contents, which is returned. |
DocumentsDatabase |
loadFromFiles(LinkToFiles link_files)
Method for loading plain text files - one document for each file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface tp.loader.LoaderInterface |
---|
addPropertyChangeListener |
Constructor Detail |
---|
public LoaderPlainText()
Method Detail |
---|
public DocumentsDatabase loadFromFiles(LinkToFiles link_files)
loadFromFiles
in interface LoaderInterface
link_files
- links to files for loading
public java.lang.String loadFile(java.io.File f)
f
- plain text file
protected java.lang.Void doInBackground() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |