|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.timeindexing.plugin.DefaultInputPlugin
com.timeindexing.plugin.FileInputPlugin
public class FileInputPlugin
A class to input a whole file.
| Constructor Summary | |
|---|---|
FileInputPlugin(Index anIndex,
java.io.File file)
Construct an FileInputPlugin object given an index and a File object. |
|
FileInputPlugin(Index anIndex,
java.io.FileInputStream inStream)
Construct a FileInputPlugin object given an index and an InputStream. |
|
FileInputPlugin(Index anIndex,
java.lang.String fileName)
Construct an FileInputPlugin object given an index and a file name. |
|
| Method Summary | |
|---|---|
java.lang.Object |
begin()
Begin for this class locks the file. |
java.lang.Object |
end()
End for this class releases the lock. |
| Methods inherited from class com.timeindexing.plugin.DefaultInputPlugin |
|---|
getIndex, getInputStream, getReaderPlugin, isEOF, read, setReaderPlugin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileInputPlugin(Index anIndex,
java.lang.String fileName)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public FileInputPlugin(Index anIndex,
java.io.File file)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public FileInputPlugin(Index anIndex,
java.io.FileInputStream inStream)
| Method Detail |
|---|
public java.lang.Object begin()
begin in interface InputPluginbegin in class DefaultInputPluginpublic java.lang.Object end()
end in interface InputPluginend in class DefaultInputPlugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||