Spring常用ツールクラス
4472 ワード
spring , . . spring ,
spring . spring3.0.5 .
spring jar
spring resouce , io . spring
resouce
UrlResource
ClassPathResource
FileSystemResource
ServletContextResource
InputStreamResource
ByteArrayResource
EncodedResource Resource encoding,
VfsResource( jboss , VfsUtils)
org.springframework.util.xml.ResourceUtils . : "classpath:".
getURL, getFile, isFileURL, isJarURL, extractJarFileURL
org.springframework.core.annotation.AnnotationUtils
org.springframework.core.io.support.PathMatchingResourcePatternResolver ant (com/*.jsp, com/**/*.jsp), , resource , . javadoc
org.springframework.core.io.support.PropertiesLoaderUtils Properties , Resource
org.springframework.core.BridgeMethodResolver . : http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.12.4.5
org.springframework.core.GenericTypeResolver , , .
org.springframework.core.NestedExceptionUtils
xml
org.springframework.util.xml.AbstractStaxContentHandler
org.springframework.util.xml.AbstractStaxXMLReader
org.springframework.util.xml.AbstractXMLReader
org.springframework.util.xml.AbstractXMLStreamReader
org.springframework.util.xml.DomUtils
org.springframework.util.xml.SimpleNamespaceContext
org.springframework.util.xml.SimpleSaxErrorHandler
org.springframework.util.xml.SimpleTransformErrorListener
org.springframework.util.xml.StaxUtils
org.springframework.util.xml.TransformerUtils
org.springframework.util.xml.AntPathMatcherant
org.springframework.util.xml.AntPathStringMatcher
org.springframework.util.xml.Assert ,
org.springframework.util.xml.CachingMapDecorator
org.springframework.util.xml.ClassUtils Class
org.springframework.util.xml.CollectionUtils
org.springframework.util.xml.CommonsLogWriter
org.springframework.util.xml.CompositeIterator
org.springframework.util.xml.ConcurrencyThrottleSupport
org.springframework.util.xml.CustomizableThreadCreator
org.springframework.util.xml.DefaultPropertiesPersister
org.springframework.util.xml.DigestUtils , md5
org.springframework.util.xml.FileCopyUtils , Resource ,
org.springframework.util.xml.FileSystemUtils
org.springframework.util.xml.LinkedCaseInsensitiveMap ,key LinkedMap
org.springframework.util.xml.LinkedMultiValueMap key LinkedMap
org.springframework.util.xml.Log4jConfigurer log4j
org.springframework.util.xml.NumberUtils , parseNumber , format , convertNumberToTargetClass Number .
org.springframework.util.xml.ObjectUtils null object . nullSafeHashCode, nullSafeEquals, isArray, containsElement, addObjectToArray,
org.springframework.util.xml.PatternMatchUtilsspring . Spring's typical "xxx*", "*xxx" and "*xxx*" pattern styles
org.springframework.util.xml.PropertyPlaceholderHelper
org.springframework.util.xml.ReflectionUtils . findField, setField, getField, findMethod, invokeMethod
org.springframework.util.xml.SerializationUtils java . serialize deserialize
org.springframework.util.xml.StopWatch , . .
org.springframework.util.xml.StringUtils
org.springframework.util.xml.SystemPropertyUtils
org.springframework.util.xml.TypeUtils . isAssignable
org.springframework.util.xml.WeakReferenceMonitor
web
org.springframework.web.util.CookieGenerator
org.springframework.web.util.HtmlCharacterEntityDecoder
org.springframework.web.util.HtmlCharacterEntityReferences
org.springframework.web.util.HtmlUtils
org.springframework.web.util.HttpUrlTemplate
url, url . url ,
String url = "http://localhost/myapp/{name}/{id}"
org.springframework.web.util.JavaScriptUtils
org.springframework.web.util.Log4jConfigListener listener log4j web
org.springframework.web.util.UriTemplate
org.springframework.web.util.UriUtils uri
org.springframework.web.util.WebUtils
org.springframework.web.util.