Java Doc for RobotConfig.java in  » Portal » Open-Portal » com » sun » portal » search » robot » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.search.robot 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.search.robot.RobotConfig

RobotConfig
public class RobotConfig (Code)


Field Summary
final public static  intALLOW
    
final public static  intDENY
    
final public static  intGO_NEXT
    
 String[]RuleIDs
    
 String[]RuleNicknames
    
 String[]RulesetIDs
    
public  ConverterConfigconvertConf
    
 intextractSize
    
 intextractSizeNdx
    
 ArrayListfilterConf
    
public  Stringfilterrules_conf
    
 StringBufferfrs_header_comment
    
final static  intfull_text_size
    
public  intlastRuleID
    
 intlastRulesetID
    
 ArrayListpre_comment
    
public  ProcessConfigprocessConf
    
public  Stringprocess_conf
    
 HashMaprules
    
 HashMaprulesets
    

Constructor Summary
public  RobotConfig(String conf_dir)
    

Method Summary
public static  booleanADStringtoBoolean(String ad)
    
public static  StringADtoString(boolean b)
    
public  voidAddRule(String id, FilterRule fr)
    
public  voidAddRuleSet(String key, FilterRuleset frs)
    
public static  StringBtoString(boolean b)
    
public  booleanFilterURL(String u)
    
public  FilterRuleGetRule(String id)
    
public  FilterRuleGetRuleByIndex(int index)
    
public  FilterRulesetGetRuleSet(String key)
    
public  FilterRulesetGetRuleSet(int index)
    
public  booleanRuleMatch(String key, String u)
    
public static  booleanStringtoBoolean(String s)
    
public  voidaddComment(String comm)
    
public  voidaddPreComment(String comm)
    
public  booleandelRule(int index)
    
public  booleandelRule(String id)
    
public  booleandelRuleset(int index)
    
public  booleandelRuleset(String id)
    
 FilterRulesetfindFiletrRulesetFor(URL url)
    
public  FilterRulesetfindFiletrRulesetHasDomain(String domain)
    
public  FilterRulesetfindFiletrRulesetHasStartingPoint(String urlText)
    
public  voidfreshRulesArray()
    
 intgetExtractSize()
    
public  String[]getFiletrRulesetIDsForFilterRule(String id)
    
public  StringgetIDByNick(String nick)
    
public  String[]getRuleIDs()
    
public  StringgetRuleNickname(String ruleID)
    
public  String[]getRuleNicknames()
    
public  String[]getRulsetIDs()
    
public static  voidmain(String[] args)
    
public  StringnewPathFilterRule(String path)
    
public  FilterRulesetnewRuleset(String urlText, int depth, boolean isDomain, String ruleID)
    
public  FilterRulesetnewRuleset(URL url, int depth, boolean isDomain, String ruleID)
    
public  intnumOfRules()
    
public  intnumOfStartingPoint(boolean checkEnable)
    
public  intnumRule()
    
public  intnumRuleset()
    
 voidparse_filterConf(String file)
    
 voidparse_filterrules(String file)
    
public  voidprintRuleSets(PrintWriter out)
    
public  voidprintRules(PrintWriter out)
    
 voidremoveAssoicatedPathFilter(String id)
    
 voidrmRuleFromRuleset(String ruleid)
    
public  voidupdateFile()
    

Field Detail
ALLOW
final public static int ALLOW(Code)



DENY
final public static int DENY(Code)



GO_NEXT
final public static int GO_NEXT(Code)



RuleIDs
String[] RuleIDs(Code)



RuleNicknames
String[] RuleNicknames(Code)



RulesetIDs
String[] RulesetIDs(Code)



convertConf
public ConverterConfig convertConf(Code)



extractSize
int extractSize(Code)



extractSizeNdx
int extractSizeNdx(Code)



filterConf
ArrayList filterConf(Code)



filterrules_conf
public String filterrules_conf(Code)



frs_header_comment
StringBuffer frs_header_comment(Code)



full_text_size
final static int full_text_size(Code)



lastRuleID
public int lastRuleID(Code)



lastRulesetID
int lastRulesetID(Code)



pre_comment
ArrayList pre_comment(Code)



processConf
public ProcessConfig processConf(Code)



process_conf
public String process_conf(Code)



rules
HashMap rules(Code)



rulesets
HashMap rulesets(Code)




Constructor Detail
RobotConfig
public RobotConfig(String conf_dir)(Code)




Method Detail
ADStringtoBoolean
public static boolean ADStringtoBoolean(String ad)(Code)



ADtoString
public static String ADtoString(boolean b)(Code)



AddRule
public void AddRule(String id, FilterRule fr)(Code)



AddRuleSet
public void AddRuleSet(String key, FilterRuleset frs)(Code)



BtoString
public static String BtoString(boolean b)(Code)



FilterURL
public boolean FilterURL(String u)(Code)



GetRule
public FilterRule GetRule(String id)(Code)



GetRuleByIndex
public FilterRule GetRuleByIndex(int index)(Code)



GetRuleSet
public FilterRuleset GetRuleSet(String key)(Code)



GetRuleSet
public FilterRuleset GetRuleSet(int index)(Code)



RuleMatch
public boolean RuleMatch(String key, String u)(Code)



StringtoBoolean
public static boolean StringtoBoolean(String s)(Code)



addComment
public void addComment(String comm)(Code)



addPreComment
public void addPreComment(String comm)(Code)



delRule
public boolean delRule(int index)(Code)



delRule
public boolean delRule(String id)(Code)
delete Filter Rule by ID
Parameters:
  RuleID -



delRuleset
public boolean delRuleset(int index)(Code)
delete Filter Ruleset by index
Parameters:
  index - in RulesetIDs



delRuleset
public boolean delRuleset(String id)(Code)
delete Filter Ruleset by ID
Parameters:
  RulesetID -



findFiletrRulesetFor
FilterRuleset findFiletrRulesetFor(URL url)(Code)



findFiletrRulesetHasDomain
public FilterRuleset findFiletrRulesetHasDomain(String domain)(Code)



findFiletrRulesetHasStartingPoint
public FilterRuleset findFiletrRulesetHasStartingPoint(String urlText)(Code)



freshRulesArray
public void freshRulesArray()(Code)



getExtractSize
int getExtractSize()(Code)



getFiletrRulesetIDsForFilterRule
public String[] getFiletrRulesetIDsForFilterRule(String id)(Code)



getIDByNick
public String getIDByNick(String nick)(Code)



getRuleIDs
public String[] getRuleIDs()(Code)
get rules DIs in an array
Parameters:
  RulesetID -



getRuleNickname
public String getRuleNickname(String ruleID)(Code)



getRuleNicknames
public String[] getRuleNicknames()(Code)



getRulsetIDs
public String[] getRulsetIDs()(Code)



main
public static void main(String[] args)(Code)



newPathFilterRule
public String newPathFilterRule(String path)(Code)



newRuleset
public FilterRuleset newRuleset(String urlText, int depth, boolean isDomain, String ruleID)(Code)



newRuleset
public FilterRuleset newRuleset(URL url, int depth, boolean isDomain, String ruleID)(Code)



numOfRules
public int numOfRules()(Code)



numOfStartingPoint
public int numOfStartingPoint(boolean checkEnable)(Code)



numRule
public int numRule()(Code)



numRuleset
public int numRuleset()(Code)



parse_filterConf
void parse_filterConf(String file)(Code)



parse_filterrules
void parse_filterrules(String file)(Code)



printRuleSets
public void printRuleSets(PrintWriter out)(Code)



printRules
public void printRules(PrintWriter out)(Code)



removeAssoicatedPathFilter
void removeAssoicatedPathFilter(String id)(Code)



rmRuleFromRuleset
void rmRuleFromRuleset(String ruleid)(Code)



updateFile
public void updateFile()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.