info.simongibbs.scoof
Class ShreddingTask
java.lang.Object
info.simongibbs.scoof.AbstractSearchTask
info.simongibbs.scoof.ShreddingTask
- All Implemented Interfaces:
- java.lang.Runnable, SearchTask
- public class ShreddingTask
- extends AbstractSearchTask
Produces Hits by cutting a file into overlapping sections
of a fixed length. The length used is specified by configuring the CodeBase.
- Version:
- $Revision: 1.4 $
- Author:
- simon
Field Summary |
static java.lang.String |
CLASS
|
Method Summary |
void |
run()
Performs the search. |
static java.util.Collection |
shred(java.lang.String code,
int blockSize)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS
public static final java.lang.String CLASS
ShreddingTask
public ShreddingTask(Target t)
- Construct a new basic task.
- Parameters:
t
- the Target of the search
run
public void run()
- Description copied from class:
AbstractSearchTask
- Performs the search.
- Specified by:
run
in interface SearchTask
- Specified by:
run
in class AbstractSearchTask
- See Also:
Runnable.run()
shred
public static java.util.Collection shred(java.lang.String code,
int blockSize)