Interface DescriptorFileFinderInformation

All Known Implementing Classes:
ClasspathDescriptorFileFinder, ClasspathDescriptorFileFinder

public interface DescriptorFileFinderInformation
Returns information about the InputStream returned by DescriptorFileFinder.findDescriptorFiles() that can be used to give better information when one of the streams fails. Classes that implement DescriptorFileFinder should also implement this interface in order to provide better failure information
  • Method Details

    • getDescriptorFileInformation

      List<String> getDescriptorFileInformation()
      This list must have the same cardinality as DescriptorFileFinder.findDescriptorFiles(). The Strings returned from this list must give identifying information about the InputStream with the same index. For example, if the InputStream is from a URL then the toString of the URL would be appropriate. If the InputStream is from a File then the Absolute path to that file might be appropriate
      Returns:
      Identifying information about the InputStream returned by DescriptorFileFinder.findDescriptorFiles() correlated by index