Examples of findPropertyKeys()


Examples of org.jfree.util.Configuration.findPropertyKeys()

            return;
        }
        this.initSections.add(modulePrefix);

        final Configuration config = this.booter.getGlobalConfig();
        final Iterator it = config.findPropertyKeys(modulePrefix);
        while (it.hasNext()) {
            final String key = (String) it.next();
            if (key.endsWith(".Module")) {
                addModule(config.getConfigProperty(key));
            }
View Full Code Here

Examples of org.jfree.util.ExtendedConfiguration.findPropertyKeys()

  private void registerDefaults()
  {
    ExtendedConfiguration config =
            LibFontBoot.getInstance().getExtendedConfig();

    Iterator encodings = config.findPropertyKeys
            ("org.jfree.fonts.encoding.manual.");
    while (encodings.hasNext())
    {
      final String key = (String) encodings.next();
      final String encodingClass = config.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  public static ActionCategory[] loadCategories(final SwingGuiContext swingGuiContext)
  {
    final ArrayList categories = new ArrayList();
    final Configuration configuration = swingGuiContext.getConfiguration();
    final Iterator keys = configuration.findPropertyKeys(CATEGORY_PREFIX);
    while (keys.hasNext())
    {
      final String enableKey = (String) keys.next();
      if (enableKey.endsWith(".enabled") == false) //$NON-NLS-1$
      {
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  {
    if (readHandlerFactory == null)
    {
      readHandlerFactory = new ElementReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(ElementReadHandlerFactory.PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  {
    if (readHandlerFactory == null)
    {
      readHandlerFactory = new StyleReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(StyleReadHandlerFactory.PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

      throw new NullPointerException();
    }

    final Configuration configuration = context.getConfiguration();
    final String prefix = DefaultActionFactory.PREFIX + category;
    final Iterator keys = configuration.findPropertyKeys(prefix);
    if (keys.hasNext() == false)
    {
      DefaultActionFactory.logger.debug(DefaultActionFactory.MESSAGES.getString("DefaultActionFactory.DEBUG_NO_ACTIONS",
          category)); //$NON-NLS-1$
      return DefaultActionFactory.EMPTY_ACTIONS;
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  {
    if (readHandlerFactory == null)
    {
      readHandlerFactory = new ConnectionReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  private BundleWriterHandler[] subreportWriter;

  public BundleWriter()
  {
    final Configuration configuration = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator masterKeys = configuration.findPropertyKeys(MASTER_HANDLER_PREFIX);
    final ArrayList masterWriterList = new ArrayList();
    while (masterKeys.hasNext())
    {
      final String key = (String) masterKeys.next();
      final String className = configuration.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

    // Sort the list of BundleWriterHandlers so the processing occurs in a better defined order
    sortBundleWriterHandlers(masterWriter);

    masterWriterList.clear();
    final Iterator subKeys = configuration.findPropertyKeys(SUBREPORT_HANDLER_PREFIX);
    while (subKeys.hasNext())
    {
      final String key = (String) subKeys.next();
      final String className = configuration.getConfigProperty(key);
      final BundleWriterHandler handler = (BundleWriterHandler)
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

    {
      // ignored ..
    }

    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator keys = config.findPropertyKeys(JNDI_PREFIX_CONFIGURATION);
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String prefix = config.getConfigProperty(key);
      try
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.