org.ag.sheriffbot
Class FilelistDumpSearcher

java.lang.Object
  extended by org.ag.sheriffbot.FilelistDumpSearcher

public class FilelistDumpSearcher
extends java.lang.Object

Use this to search dumps created by SheriffBot.

Using this you can search for vareity of information in the dumps. Just give it the directory name of the dump files and give it the search query. Run it to learn about the options it supports.

Please note though, that the XML parser that this uses seems to use too much processing power and is quite slow.

Since:
0.7.1
Version:
0.1
Author:
AppleGrew

Nested Class Summary
private  class FilelistDumpSearcher.FilelistHandler
           
 
Constructor Summary
FilelistDumpSearcher()
           
 
Method Summary
static java.lang.String arr2Str(java.lang.String[] arr)
           
static java.lang.String getMiscStats(java.lang.String dumpfile)
           
static void main(java.lang.String[] args)
           
static java.util.Vector<java.lang.String> removeDuplicates(java.util.Vector<java.lang.String> res)
           
 java.util.Vector<java.lang.String> search(java.lang.String dumpfile, java.lang.String srfor, int type, long size, boolean showTTH, boolean phpSerialize, java.lang.String hubname)
           
static java.lang.String Vector2String(java.util.Vector<java.lang.String> vec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilelistDumpSearcher

public FilelistDumpSearcher()
Method Detail

main

public static void main(java.lang.String[] args)

arr2Str

public static java.lang.String arr2Str(java.lang.String[] arr)

search

public java.util.Vector<java.lang.String> search(java.lang.String dumpfile,
                                                 java.lang.String srfor,
                                                 int type,
                                                 long size,
                                                 boolean showTTH,
                                                 boolean phpSerialize,
                                                 java.lang.String hubname)

removeDuplicates

public static java.util.Vector<java.lang.String> removeDuplicates(java.util.Vector<java.lang.String> res)

Vector2String

public static java.lang.String Vector2String(java.util.Vector<java.lang.String> vec)

getMiscStats

public static java.lang.String getMiscStats(java.lang.String dumpfile)