Java Doc for XmlCrawlerConfig.java in  » Search-Engine » regain » net » sf » regain » crawler » config » 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 » Search Engine » regain » net.sf.regain.crawler.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.regain.crawler.config.XmlCrawlerConfig

XmlCrawlerConfig
public class XmlCrawlerConfig implements CrawlerConfig(Code)
Liest die konfigurierenden Einstellungen aus einer XML-Datei und stellt sie zur Verf�gung.
author:
   Til Schneider, www.murfman.de



Constructor Summary
public  XmlCrawlerConfig(File xmlFile)
     Erzeugt eine neue XmlConfiguration-Instanz.

Method Summary
public  StringgetAnalyzerType()
     Gibt den zu verwendenden Analyzer-Typ zur�ck.
public  AuxiliaryField[]getAuxiliaryFieldList()
     Gets the list of the auxiliary fields. The list of the auxiliary fields.
public  UrlMatcher[]getBlackList()
     Gets the black list.
public  intgetBreakpointInterval()
     Returns the interval between two breakpoint in minutes.
public  booleangetBuildIndex()
     Gibt zur�ck, ob ein Suchindex erstellt werden soll.
public  StringgetCrawlerAccessControllerClass()
     Gets the class name of the net.sf.regain.crawler.access.CrawlerAccessController to use. Returns null if no CrawlerAccessController should be used. The class name of the CrawlerAccessController.
public  PropertiesgetCrawlerAccessControllerConfig()
     Gets the configuration of the net.sf.regain.crawler.access.CrawlerAccessController .
public  StringgetCrawlerAccessControllerJar()
     Gets the name of jar file to load the net.sf.regain.crawler.access.CrawlerAccessController from. Returns null if the CrawlerAccessController already is in the classpath. The name of jar file to load the CrawlerAccessController from.
public  String[]getExclusionList()
     Gibt alle Worte zur�ck, die bei der Indizierung nicht vom Analyzer ver�ndert werden sollen.
public  StringgetFinishedWithFatalsFileName()
     Gibt den Namen der Kontrolldatei f�r fehlerhafte Indexerstellung zur�ck.
public  StringgetFinishedWithoutFatalsFileName()
     Gibt den Namen der Kontrolldatei f�r erfolgreiche Indexerstellung zur�ck.
public  UrlPattern[]getHtmlParserUrlPatterns()
     Gibt die UrlPattern zur�ck, die der HTML-Parser nutzen soll, um URLs zu identifizieren.
public  intgetHttpTimeoutSecs()
     Gibt den Timeout f�r HTTP-Downloads zur�ck.
public  StringgetIndexDir()
     Gibt das Verzeichnis zur�ck, in dem der Suchindex am Ende stehen soll.
public  booleangetLoadUnparsedUrls()
     Gibt zur�ck, ob URLs geladen werden sollen, die weder durchsucht noch indiziert werden.
public  doublegetMaxFailedDocuments()
     Gibt den maximalen Prozentsatz von gescheiterten Dokumenten zur�ck.
public  intgetMaxFieldLength()
    
public  PreparatorSettings[]getPreparatorSettingsList()
     Gets the list with the preparator settings.
public  StringgetProxyHost()
     Gibt den Host-Namen des Proxy-Servers zur�ck.
public  StringgetProxyPassword()
     Gibt das Passwort f�r die Anmeldung beim Proxy-Server zur�ck.
public  StringgetProxyPort()
     Gibt den Port des Proxy-Servers zur�ck.
public  StringgetProxyUser()
     Gibt den Benutzernamen f�r die Anmeldung beim Proxy-Server zur�ck.
public  StartUrl[]getStartUrls()
     Gibt die StartUrls zur�ck, bei denen der Crawler-Proze� beginnen soll.
public  String[]getStopWordList()
     Gibt alle Worte zur�ck, die nicht indiziert werden sollen.
public  String[]getUseLinkTextAsTitleRegexList()
     Gibt die regul�ren Ausdr�cke zur�ck, auf die die URL eines Dokuments passen muss, damit anstatt des wirklichen Dokumententitels der Text des Links, der auf das Dokument gezeigt hat, als Dokumententitel genutzt wird.
public  StringgetUserAgent()
    
public  String[]getValuePrefetchFields()
    
public  WhiteListEntry[]getWhiteList()
     Gets the white list.
public  booleangetWriteAnalysisFiles()
     Gibt zur�ck, ob Analyse-Deteien geschrieben werden sollen.


Constructor Detail
XmlCrawlerConfig
public XmlCrawlerConfig(File xmlFile) throws RegainException(Code)
Erzeugt eine neue XmlConfiguration-Instanz.
Parameters:
  xmlFile - Die XML-Datei, aus der die Konfiguration gelesen werden soll.
throws:
  RegainException - Falls die Konfiguration nicht korrekt gelesen werdenkonnte.




Method Detail
getAnalyzerType
public String getAnalyzerType()(Code)
Gibt den zu verwendenden Analyzer-Typ zur�ck. en zu verwendenden Analyzer-Typ



getAuxiliaryFieldList
public AuxiliaryField[] getAuxiliaryFieldList()(Code)
Gets the list of the auxiliary fields. The list of the auxiliary fields. May be null.



getBlackList
public UrlMatcher[] getBlackList()(Code)
Gets the black list.

The black list is an array of UrlMatchers, a URLs must not match to, in order to be processed. The black list.




getBreakpointInterval
public int getBreakpointInterval()(Code)
Returns the interval between two breakpoint in minutes. If set to 0, no breakpoints will be created. the interval between two breakpoint in minutes.



getBuildIndex
public boolean getBuildIndex()(Code)
Gibt zur�ck, ob ein Suchindex erstellt werden soll. Ob ein Suchindex erstellt werden soll.



getCrawlerAccessControllerClass
public String getCrawlerAccessControllerClass()(Code)
Gets the class name of the net.sf.regain.crawler.access.CrawlerAccessController to use. Returns null if no CrawlerAccessController should be used. The class name of the CrawlerAccessController.



getCrawlerAccessControllerConfig
public Properties getCrawlerAccessControllerConfig()(Code)
Gets the configuration of the net.sf.regain.crawler.access.CrawlerAccessController . May be null. The the configuration of the CrawlerAccessController.



getCrawlerAccessControllerJar
public String getCrawlerAccessControllerJar()(Code)
Gets the name of jar file to load the net.sf.regain.crawler.access.CrawlerAccessController from. Returns null if the CrawlerAccessController already is in the classpath. The name of jar file to load the CrawlerAccessController from.



getExclusionList
public String[] getExclusionList()(Code)
Gibt alle Worte zur�ck, die bei der Indizierung nicht vom Analyzer ver�ndert werden sollen. Alle Worte, die bei der Indizierung nicht vom Analyzerver�ndert werden sollen.



getFinishedWithFatalsFileName
public String getFinishedWithFatalsFileName()(Code)
Gibt den Namen der Kontrolldatei f�r fehlerhafte Indexerstellung zur�ck.

Diese Datei wird erzeugt, wenn der Index erstellt wurde, wobei fatale Fehler aufgetreten sind.

Wenn keine Kontrolldatei erzeugt werden soll, dann wird null zur�ckgegeben. Der Name der Kontrolldatei f�r fehlerhafte Indexerstellung




getFinishedWithoutFatalsFileName
public String getFinishedWithoutFatalsFileName()(Code)
Gibt den Namen der Kontrolldatei f�r erfolgreiche Indexerstellung zur�ck.

Diese Datei wird erzeugt, wenn der Index erstellt wurde, ohne dass fatale Fehler aufgetreten sind.

Wenn keine Kontrolldatei erzeugt werden soll, dann wird null zur�ckgegeben. Der Name der Kontrolldatei f�r erfolgreiche Indexerstellung




getHtmlParserUrlPatterns
public UrlPattern[] getHtmlParserUrlPatterns()(Code)
Gibt die UrlPattern zur�ck, die der HTML-Parser nutzen soll, um URLs zu identifizieren. Die UrlPattern f�r den HTML-Parser.



getHttpTimeoutSecs
public int getHttpTimeoutSecs()(Code)
Gibt den Timeout f�r HTTP-Downloads zur�ck. Dieser Wert bestimmt die maximale Zeit in Sekunden, die ein HTTP-Download insgesamt dauern darf. Den Timeout f�r HTTP-Downloads



getIndexDir
public String getIndexDir()(Code)
Gibt das Verzeichnis zur�ck, in dem der Suchindex am Ende stehen soll. Das Verzeichnis, in dem der Suchindex am Ende stehen soll.



getLoadUnparsedUrls
public boolean getLoadUnparsedUrls()(Code)
Gibt zur�ck, ob URLs geladen werden sollen, die weder durchsucht noch indiziert werden. Ob URLs geladen werden sollen, die weder durchsucht noch indiziertwerden.



getMaxFailedDocuments
public double getMaxFailedDocuments()(Code)
Gibt den maximalen Prozentsatz von gescheiterten Dokumenten zur�ck. (0..1)

Ist das Verh�lnis von gescheiterten Dokumenten zur Gesamtzahl von Dokumenten gr��er als dieser Prozentsatz, so wird der Index verworfen.

Gescheiterte Dokumente sind Dokumente die es entweder nicht gibt (Deadlink) oder die nicht ausgelesen werden konnten. Den maximalen Prozentsatz von gescheiterten Dokumenten zur�ck.




getMaxFieldLength
public int getMaxFieldLength()(Code)



getPreparatorSettingsList
public PreparatorSettings[] getPreparatorSettingsList()(Code)
Gets the list with the preparator settings. The list with the preparator settings.



getProxyHost
public String getProxyHost()(Code)
Gibt den Host-Namen des Proxy-Servers zur�ck. Wenn kein Host konfiguriert wurde, wird null zur�ckgegeben. Der Host-Namen des Proxy-Servers.



getProxyPassword
public String getProxyPassword()(Code)
Gibt das Passwort f�r die Anmeldung beim Proxy-Server zur�ck. Wenn kein Passwort konfiguriert wurde, wird null zur�ckgegeben. Das Passwort f�r die Anmeldung beim Proxy-Server.



getProxyPort
public String getProxyPort()(Code)
Gibt den Port des Proxy-Servers zur�ck. Wenn kein Port konfiguriert wurde, wird null zur�ckgegeben. Der Port des Proxy-Servers.



getProxyUser
public String getProxyUser()(Code)
Gibt den Benutzernamen f�r die Anmeldung beim Proxy-Server zur�ck. Wenn kein Benutzernamen konfiguriert wurde, wird null zur�ckgegeben. Der Benutzernamen f�r die Anmeldung beim Proxy-Server.



getStartUrls
public StartUrl[] getStartUrls()(Code)
Gibt die StartUrls zur�ck, bei denen der Crawler-Proze� beginnen soll. Die StartUrls.



getStopWordList
public String[] getStopWordList()(Code)
Gibt alle Worte zur�ck, die nicht indiziert werden sollen. Alle Worte, die nicht indiziert werden sollen.



getUseLinkTextAsTitleRegexList
public String[] getUseLinkTextAsTitleRegexList()(Code)
Gibt die regul�ren Ausdr�cke zur�ck, auf die die URL eines Dokuments passen muss, damit anstatt des wirklichen Dokumententitels der Text des Links, der auf das Dokument gezeigt hat, als Dokumententitel genutzt wird. Die regul�ren Ausdr�cke, die Dokumente bestimmen, f�r die derLinktext als Titel genommen werden soll.



getUserAgent
public String getUserAgent()(Code)



getValuePrefetchFields
public String[] getValuePrefetchFields()(Code)



getWhiteList
public WhiteListEntry[] getWhiteList()(Code)
Gets the white list.

The black list is an array of WhiteListEntry, a URLs must match to, in order to be processed. Die Weiße Liste




getWriteAnalysisFiles
public boolean getWriteAnalysisFiles()(Code)
Gibt zur�ck, ob Analyse-Deteien geschrieben werden sollen.

Diese Dateien helfen, die Qualit�t der Index-Erstellung zu pr�fen und werden in einem Unterverzeichnis im Index-Verzeichnis angelegt. Ob Analyse-Deteien geschrieben werden sollen.




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.