Java Doc for CompassSettings.java in  » Search-Engine » compass-2.0 » org » compass » core » 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 » compass 2.0 » org.compass.core.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.compass.core.config.CompassSettings

All known Subclasses:   org.compass.core.config.RuntimeCompassSettings,
CompassSettings
public class CompassSettings (Code)
A set of settings that are used to configure the Compass instance.
author:
   kimchy



Constructor Summary
public  CompassSettings()
    
public  CompassSettings(ClassLoader classLoader)
    
public  CompassSettings(Properties settings)
    

Method Summary
public  voidaddSettings(Properties settings)
    
public  voidaddSettings(CompassSettings settings)
    
public  CompassSettingsclear()
    
public  CompassSettingscopy()
    
public  ClassLoadergetClassLoader()
     Returns the class loader.
public  ClassLoadergetDirectClassLoader()
     Returns the direct class loader configured for this settings.
public  PropertiesgetProperties()
    
public  ObjectgetRegistry(Object key)
    
public  StringgetSetting(String setting)
    
public  StringgetSetting(String setting, String defaultValue)
    
public  booleangetSettingAsBoolean(String setting, boolean defaultValue)
    
public  ClassgetSettingAsClass(String setting, Class clazz)
    
public  ClassgetSettingAsClass(String setting, Class clazz, ClassLoader classLoader)
    
public  doublegetSettingAsDouble(String setting, double defaultValue)
    
public  floatgetSettingAsFloat(String setting, float defaultValue)
    
public  intgetSettingAsInt(String setting, int defaultValue)
    
public  longgetSettingAsLong(String setting, long defaultValue)
    
public  Map<String, CompassSettings>getSettingGroups(String settingPrefix)
    
public  CollectionkeySet()
    
public  ObjectremoveRegistry(Object key)
    
public  CompassSettingssetBooleanSetting(String setting, boolean value)
    
 voidsetClassLoader(ClassLoader classLoader)
    
public  CompassSettingssetClassSetting(String setting, Class clazz)
    
public  CompassSettingssetDoubleSetting(String setting, double value)
    
public  CompassSettingssetFloatSetting(String setting, float value)
    
public  CompassSettingssetGroupSettings(String settingPrefix, String groupName, String[] settings, String[] values)
     Sets a group of settings, sharing the same setting prefix.
public  CompassSettingssetIntSetting(String setting, int value)
    
public  CompassSettingssetLongSetting(String setting, long value)
    
public  voidsetRegistry(Object key, Object value)
    
public  CompassSettingssetSetting(String setting, String value)
    
public  StringtoString()
    


Constructor Detail
CompassSettings
public CompassSettings()(Code)



CompassSettings
public CompassSettings(ClassLoader classLoader)(Code)



CompassSettings
public CompassSettings(Properties settings)(Code)




Method Detail
addSettings
public void addSettings(Properties settings)(Code)



addSettings
public void addSettings(CompassSettings settings)(Code)



clear
public CompassSettings clear()(Code)



copy
public CompassSettings copy()(Code)



getClassLoader
public ClassLoader getClassLoader()(Code)
Returns the class loader. If none is defined, return the thread context class loader.



getDirectClassLoader
public ClassLoader getDirectClassLoader()(Code)
Returns the direct class loader configured for this settings. null if none is defined.



getProperties
public Properties getProperties()(Code)



getRegistry
public Object getRegistry(Object key)(Code)
ADANCE: An internal compass global registry



getSetting
public String getSetting(String setting)(Code)



getSetting
public String getSetting(String setting, String defaultValue)(Code)



getSettingAsBoolean
public boolean getSettingAsBoolean(String setting, boolean defaultValue)(Code)



getSettingAsClass
public Class getSettingAsClass(String setting, Class clazz) throws ClassNotFoundException(Code)



getSettingAsClass
public Class getSettingAsClass(String setting, Class clazz, ClassLoader classLoader) throws ClassNotFoundException(Code)



getSettingAsDouble
public double getSettingAsDouble(String setting, double defaultValue)(Code)



getSettingAsFloat
public float getSettingAsFloat(String setting, float defaultValue)(Code)



getSettingAsInt
public int getSettingAsInt(String setting, int defaultValue)(Code)



getSettingAsLong
public long getSettingAsLong(String setting, long defaultValue)(Code)



getSettingGroups
public Map<String, CompassSettings> getSettingGroups(String settingPrefix)(Code)



keySet
public Collection keySet()(Code)



removeRegistry
public Object removeRegistry(Object key)(Code)
ADVANCE: An internal compass global registry



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



setClassLoader
void setClassLoader(ClassLoader classLoader)(Code)



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



setDoubleSetting
public CompassSettings setDoubleSetting(String setting, double value)(Code)



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



setGroupSettings
public CompassSettings setGroupSettings(String settingPrefix, String groupName, String[] settings, String[] values)(Code)
Sets a group of settings, sharing the same setting prefix. The provided settings are appended to the settingPrefix, and the matching values are set.

The constructed setting is: settingPrefix + "." + groupName + "." + settings[i].
Parameters:
  settingPrefix - The prefix used for all settings
Parameters:
  groupName - The name of the setting group
Parameters:
  settings - The settings name appended to settingsPrefix + "." + groupName + "."
Parameters:
  values - The values of the settings matched against the settings parameters This settings instance for method chaining




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



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



setRegistry
public void setRegistry(Object key, Object value)(Code)
ADVANCE: An internal compass global registry



setSetting
public CompassSettings setSetting(String setting, String value)(Code)



toString
public String toString()(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.