org.apache.tamaya.resource.internal

## Class FileCollector

- java.lang.Object
- - org.apache.tamaya.resource.internal.FileCollector

-     public class FileCollector
      extends Object

  Collector that searches files based on ant styled patterns. For example the following patterns would be matched:

           file:C:/temp/*.txt
           file:C:\**\*.ini
           C:\Programs\**/*.ini
           /user/home/A*b101_?.pid
           /var/logs/**/*.log

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `FILE_PREFIX` The prefix used to explicitly select this collector.

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Collection<URL>` | `collectFiles(String expression)` Collects the files given the expression.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### FILE_PREFIX

          public static final String FILE_PREFIX

      The prefix used to explicitly select this collector.
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### collectFiles

          public static Collection<URL> collectFiles(String expression)

      Collects the files given the expression.
      Parameters:
        `expression` - the expression in Ant-styled format, not null.
      Returns:
        the URLs found.

Copyright © 2014–2015 Apache Software Foundation. All rights reserved.