Package com.logviewer.data2
Class BufferedFile.IndexSearchConsumer
java.lang.Object
com.logviewer.data2.BufferedFile.IndexSearchConsumer
- All Implemented Interfaces:
BufferedFile.SearchConsumer
- Direct Known Subclasses:
BufferedFile.Search10Consumer
- Enclosing class:
- BufferedFile
public abstract static class BufferedFile.IndexSearchConsumer
extends Object
implements BufferedFile.SearchConsumer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleandata(byte[] buf, int bufOffset, int length, long position) voidend(long position) abstract intsearchIndex(byte[] buf, int bufOffset, int length, long position)
-
Constructor Details
-
IndexSearchConsumer
public IndexSearchConsumer()
-
-
Method Details
-
data
public final boolean data(byte[] buf, int bufOffset, int length, long position) - Specified by:
datain interfaceBufferedFile.SearchConsumer
-
searchIndex
public abstract int searchIndex(byte[] buf, int bufOffset, int length, long position) -
end
public void end(long position) - Specified by:
endin interfaceBufferedFile.SearchConsumer
-