| Home >> All >> org >> springframework >> core >> io >> [ support Javadoc ] |
org.springframework.core.io.support: Javadoc index of package org.springframework.core.io.support.
Package Samples:
org.springframework.core.io.support: Generic abstraction for (file-based) resources, used throughout the framework.
Classes:
PathMatchingResourcePatternResolver: ResourcePatternResolver implementation that applies Ant-style path matching, using Spring's PathMatcher class. Locations can either be suitable for ResourceLoader.getResource (URLs like "file:C:/context.xml", pseudo-URLs like "classpath:/context.xml", relative file paths like "/WEB-INF/context.xml"), or Ant-style patterns like "/WEB-INF/*-context.xml". In the pattern case, the location has to be resolvable to java.io.File or to a "jar:" URL (leading to a java.net.JarURLConnection ) to allow for searching though the specified directory tree. In particular, this is not guaranteed to work with a WAR ...
ResourcePatternResolver: Strategy interface for resolving a location pattern (for example, an Ant-style path pattern) into Resource objects. This is an extension to the base ResourceLoader interface. A passed-in ResourceLoader (for example, an ApplicationContext passed in via ResourceLoaderAware when running in a context) can be checked whether it implements this extended interface too. Can be used with any sort of location pattern (e.g. "/WEB-INF/*-context.xml"): Input patterns have to match the strategy implementation. This interface just specifies the conversion method rather than a specific pattern format. This interface ...
ResourceArrayPropertyEditor: Editor for Resource descriptor arrays, to automatically convert String location patterns (e.g. "file:C:/my*.txt" or "classpath*:myfile.txt") to Resource array properties. The path may contain ${...} placeholders, to be resolved as system properties: e.g. ${user.dir}. Delegates to a ResourcePatternResolver, by default a PathMatchingResourcePatternResolver.
| Home | Contact Us | Privacy Policy | Terms of Service |