接口的使用
cn.taketoday.core.io.ResourceConsumer
使用ResourceConsumer的程序包
-
cn.taketoday.core.io中ResourceConsumer的使用
修饰符和类型方法说明default ResourceConsumerResourceConsumer.andThen(ResourceConsumer after) Returns a composedConsumerthat performs, in sequence, this operation followed by theafteroperation.参数类型为ResourceConsumer的cn.taketoday.core.io中的方法修饰符和类型方法说明private static voidPathMatchingPatternResourceLoader.acceptResource(ModuleReader moduleReader, String name, ResourceConsumer consumer) protected voidPathMatchingPatternResourceLoader.addAllClassLoaderJarRoots(ClassLoader classLoader, ResourceConsumer consumer) Search allURLClassLoaderURLs for jar file references and add them to the given set of resources in the form of pointers to the root of the jar file content.protected voidPathMatchingPatternResourceLoader.addClassPathManifestEntries(ResourceConsumer consumer) Determine jar file references from the "java.class.path." manifest property and add them to the given set of resources in the form of pointers to the root of the jar file content.default ResourceConsumerResourceConsumer.andThen(ResourceConsumer after) Returns a composedConsumerthat performs, in sequence, this operation followed by theafteroperation.protected voidPathMatchingPatternResourceLoader.doFindAllClassPathResources(String path, ResourceConsumer consumer) Find all class location resources with the given path via the ClassLoader.protected voidPathMatchingPatternResourceLoader.doFindPathMatchingFileResources(Resource rootDirResource, String subPattern, ResourceConsumer consumer) Find all resources in the file system of the supplied root directory that match the given location sub pattern via the Ant-style PathMatcher.protected voidPathMatchingPatternResourceLoader.doFindPathMatchingJarResources(Resource rootDirResource, URL rootDirURL, String subPattern, ResourceConsumer consumer) Find all resources in jar files that match the given location pattern via the Ant-style PathMatcher.protected voidPathMatchingPatternResourceLoader.findAllClassPathResources(String location, ResourceConsumer consumer) Find all class location resources with the given location via the ClassLoader.protected voidPathMatchingPatternResourceLoader.findAllModulePathResources(String locationPattern, ResourceConsumer consumer) Resolve the given location pattern intoResourceobjects for all matching resources found in the module path.protected voidPathMatchingPatternResourceLoader.findPathMatchingResources(String locationPattern, ResourceConsumer consumer) Find all resources that match the given location pattern via the Ant-style PathMatcher.protected voidPathMatchingPatternResourceLoader.rootDirResource(String subPattern, Resource rootDirResource, ResourceConsumer consumer) voidPathMatchingPatternResourceLoader.scan(String locationPattern, ResourceConsumer consumer) voidPatternResourceLoader.scan(String locationPattern, ResourceConsumer consumer) Scan the given location pattern intoResourceobjects.