Java Doc for JdbcFileEntrySettings.java in  » Search-Engine » compass-2.0 » org » apache » lucene » store » jdbc » 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 » compass 2.0 » org.apache.lucene.store.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.lucene.store.jdbc.JdbcFileEntrySettings

JdbcFileEntrySettings
public class JdbcFileEntrySettings (Code)
A file entry level settings. An abstract view of any type of setting that cab be used by the actual file entry handler that uses it.

Holds the JdbcFileEntrySettings.FILE_ENTRY_HANDLER_TYPE that defines the type of the org.apache.lucene.store.jdbc.handler.FileEntryHandler that will be created and initialized with the settings.

Default values for a new instanciated instnce are: MarkDeleteFileEntryHandler for the JdbcFileEntrySettings.FILE_ENTRY_HANDLER_TYPE setting, FetchOnBufferReadJdbcIndexInput for the JdbcFileEntrySettings.INDEX_INPUT_TYPE_SETTING setting, and RAMAndFileJdbcIndexOutput for the JdbcFileEntrySettings.INDEX_OUTPUT_TYPE_SETTING setting.
author:
   kimchy



Field Summary
final public static  StringFILE_ENTRY_HANDLER_TYPE
     The class name of the org.apache.lucene.store.jdbc.handler.FileEntryHandler .
final public static  StringINDEX_INPUT_TYPE_SETTING
     The class name of the org.apache.lucene.store.IndexInput .
final public static  StringINDEX_OUTPUT_TYPE_SETTING
     The class name of the org.apache.lucene.store.IndexOutput .

Constructor Summary
public  JdbcFileEntrySettings()
     Creates a new file entry settings, and intialize it to default values.

Method Summary
public  PropertiesgetProperties()
     Returns the inner java properties.
public  StringgetSetting(String setting)
     Returns the value match for the given setting.
public  StringgetSetting(String setting, String defaultValue)
     Returns the value that matches the given setting.
public  booleangetSettingAsBoolean(String setting, boolean defaultValue)
     Returns the boolean value that matches the given setting.
public  ClassgetSettingAsClass(String setting, Class defaultValue)
     Returns the class value that matches the given setting.
public  ClassgetSettingAsClass(String setting, Class defaultValue, ClassLoader classLoader)
     Returns the class value that matches the given setting.
public  floatgetSettingAsFloat(String setting, float defaultValue)
     Returns the float value that matches the given setting.
public  intgetSettingAsInt(String setting, int defaultValue)
     Returns the int value that matches the given setting.
public  longgetSettingAsLong(String setting, long defaultValue)
     Returns the long value that matches the given setting.
public  JdbcFileEntrySettingssetBooleanSetting(String setting, boolean value)
    
public  JdbcFileEntrySettingssetClassSetting(String setting, Class clazz)
    
public  JdbcFileEntrySettingssetFloatSetting(String setting, float value)
    
public  JdbcFileEntrySettingssetIntSetting(String setting, int value)
    
public  JdbcFileEntrySettingssetLongSetting(String setting, long value)
    
public  JdbcFileEntrySettingssetSetting(String setting, String value)
    

Field Detail
FILE_ENTRY_HANDLER_TYPE
final public static String FILE_ENTRY_HANDLER_TYPE(Code)
The class name of the org.apache.lucene.store.jdbc.handler.FileEntryHandler .



INDEX_INPUT_TYPE_SETTING
final public static String INDEX_INPUT_TYPE_SETTING(Code)
The class name of the org.apache.lucene.store.IndexInput . Only applies to org.apache.lucene.store.jdbc.handler.FileEntryHandler s that use it.



INDEX_OUTPUT_TYPE_SETTING
final public static String INDEX_OUTPUT_TYPE_SETTING(Code)
The class name of the org.apache.lucene.store.IndexOutput . Only applies to org.apache.lucene.store.jdbc.handler.FileEntryHandler s that use it.




Constructor Detail
JdbcFileEntrySettings
public JdbcFileEntrySettings()(Code)
Creates a new file entry settings, and intialize it to default values.




Method Detail
getProperties
public Properties getProperties()(Code)
Returns the inner java properties.



getSetting
public String getSetting(String setting)(Code)
Returns the value match for the given setting. null if no setting is found.
Parameters:
  setting - The setting name The value of the setting, or null if none is found



getSetting
public String getSetting(String setting, String defaultValue)(Code)
Returns the value that matches the given setting. If none is found, the default value is used.
Parameters:
  setting - The setting name
Parameters:
  defaultValue - The default value to be used if no setting is found The value of the setting, or defaultValue if none is found.



getSettingAsBoolean
public boolean getSettingAsBoolean(String setting, boolean defaultValue)(Code)
Returns the boolean value that matches the given setting. If none if found, the default value is used.
Parameters:
  setting - The setting name
Parameters:
  defaultValue - The default value to be used if no setting is found The value of the setting, or defaultValue if none is found.



getSettingAsClass
public Class getSettingAsClass(String setting, Class defaultValue) throws ClassNotFoundException(Code)
Returns the class value that matches the given setting. If none if found, the default value is used.
Parameters:
  setting - The setting name
Parameters:
  defaultValue - The default value to be used if no setting is found The value of the setting, or defaultValue if none is found.



getSettingAsClass
public Class getSettingAsClass(String setting, Class defaultValue, ClassLoader classLoader) throws ClassNotFoundException(Code)
Returns the class value that matches the given setting. If none if found, the default value is used.
Parameters:
  setting - The setting name
Parameters:
  defaultValue - The default value to be used if no setting is found
Parameters:
  classLoader - The class loader to be used to load the class The value of the setting, or defaultValue if none is found.
throws:
  ClassNotFoundException -



getSettingAsFloat
public float getSettingAsFloat(String setting, float defaultValue)(Code)
Returns the float value that matches the given setting. If none if found, the default value is used.
Parameters:
  setting - The setting name
Parameters:
  defaultValue - The default value to be used if no setting is found The value of the setting, or defaultValue if none is found.



getSettingAsInt
public int getSettingAsInt(String setting, int defaultValue)(Code)
Returns the int value that matches the given setting. If none if found, the default value is used.
Parameters:
  setting - The setting name
Parameters:
  defaultValue - The default value to be used if no setting is found The value of the setting, or defaultValue if none is found.



getSettingAsLong
public long getSettingAsLong(String setting, long defaultValue)(Code)
Returns the long value that matches the given setting. If none if found, the default value is used.
Parameters:
  setting - The setting name
Parameters:
  defaultValue - The default value to be used if no setting is found The value of the setting, or defaultValue if none is found.



setBooleanSetting
public JdbcFileEntrySettings setBooleanSetting(String setting, boolean value)(Code)



setClassSetting
public JdbcFileEntrySettings setClassSetting(String setting, Class clazz)(Code)



setFloatSetting
public JdbcFileEntrySettings setFloatSetting(String setting, float value)(Code)



setIntSetting
public JdbcFileEntrySettings setIntSetting(String setting, int value)(Code)



setLongSetting
public JdbcFileEntrySettings setLongSetting(String setting, long value)(Code)



setSetting
public JdbcFileEntrySettings setSetting(String setting, String value)(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.