Package org.cfeclipse.cfml.images

Examples of org.cfeclipse.cfml.images.StringMatcher.match()


      final StringMatcher ma = new StringMatcher("*" + this.pattern + "*", true, false);
      for (final Object o : contents) {
        if (o instanceof ItemGroup) {
          final ItemGroup ga = (ItemGroup) o;

          if (ma.match(ga.getName())) {
            images.add(o);
          } else {
            final ArrayList<IImageEntry> z = new ArrayList<IImageEntry>();
            for (int a = 0; a < ga.getChildCount(); a++) {
              final IImageEntry image = ga.getImage(a);
View Full Code Here


            images.add(o);
          } else {
            final ArrayList<IImageEntry> z = new ArrayList<IImageEntry>();
            for (int a = 0; a < ga.getChildCount(); a++) {
              final IImageEntry image = ga.getImage(a);
              if (ma.match(image.getName())) {
                z.add(image);
              }
            }
            if (!z.isEmpty()) {
              images.add(new ItemGroup(ga.getName(), z));
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.