- 浏览: 588431 次
- 性别:
- 来自: 北京
-
文章分类
- 全部博客 (411)
- webservice (3)
- oracle (37)
- sqlserver (8)
- j2ee (56)
- linux (7)
- javaweb (47)
- office (1)
- struts (23)
- hibernate (11)
- spring (29)
- 网络 (2)
- tomcat (13)
- tongweb (0)
- weblogic (0)
- powerdesiginer (3)
- svn (3)
- js (20)
- ie (2)
- 编译 (3)
- css (2)
- 操作系统 (5)
- Android (41)
- jbpm4.3 (1)
- fckeditor (3)
- 操作excel (2)
- db2常用命令 (1)
- ibatis (5)
- mysql (16)
- 表达式语言 (1)
- java方式调用存储过程 (1)
- ca (1)
- linux客户端 (1)
- 电子数码 (1)
- 行业应用 (12)
- 开发工具 (4)
- 面试 (1)
- 计算机原理 (1)
- NOSQL (5)
- 虚拟机 (1)
- nginx (0)
- velocity (2)
- jndi (1)
- spring mvc (39)
- springmvc (32)
- 安全 (5)
- htmleditor (6)
- iphone4 (1)
- html (4)
- jstl (2)
- ckeditor (5)
- 连接池 (1)
- jquery (6)
- 分页 (1)
- 技术研发规则 (1)
- javamail (1)
- maven (2)
- upload (1)
- log (1)
- 测试 (10)
- spring roo (1)
- 版本控制 (2)
- find bugs (0)
- jsf (0)
- springroo (0)
- 小道理 (1)
- 小道理,技术标准 (1)
- jsf (0)
- bitbao (2)
- redmine (3)
- 团队意识 (1)
- mybatis (2)
- jquery mobile (1)
- flexpaper (0)
- json (4)
- URLRewriteFilte (1)
- html5 (1)
- 都乐保活动 (0)
- openfire (0)
- TreeMap (1)
- build (0)
- javaweb,tag (0)
- algorithm (1)
- tag (2)
- 扯淡 (0)
- mac (2)
- 叶一火(老一) (1)
- 游玩 (1)
- 编码 (1)
- 上线部署 (0)
- 研发管理 (0)
- thumbnailator (2)
- 旅游 (0)
- bingweibo (1)
- 杂谈 (4)
- ktv (1)
- weibo (1)
- 爱情 (2)
- 饮食 (1)
- MediaWiki (1)
- git (1)
- 版本库 (1)
- servlet (1)
- 感悟 (1)
- 人生 (1)
- highcharts (1)
- poi (0)
- websphere (0)
- php (1)
最新评论
-
woshixushigang:
good
org.springframework.beans.TypeMismatchException: Failed to convert property valu -
nathanleewei:
org.springframework.jdbc.core.B ...
org.springframework.beans.TypeMismatchException: Failed to convert property valu -
浪禾木:
请问是ckeditor\contents.css吗?改过以后 ...
ckeditor自动换行问题 -
simusuishi:
刚哥威武!
ckeditor取值赋值问题 -
a455642158:
收割完毕……
Android开源项目源码下载(不断更新中)
|
|||||||||
com.easyjf.util
类 StringUtils
java.lang.Object
com.easyjf.util.StringUtils
public abstract class StringUtils
extends java.lang.Object
Miscellaneous string utility methods. Mainly for internal use within the framework; consider Jakarta's Commons Lang for a more comprehensive suite of string utilities.
This class delivers some simple functionality that should really be provided by the core Java String and StringBuffer classes, such as the ability to replace all occurrences of a given substring in a target string. It also provides easy-to-use methods to convert between delimited strings, such as CSV strings, and collections and arrays.
自从:
16 April 2001
作者:
Rod Johnson, Juergen Hoeller, Keith Donald, Rob Harrop
另请参见:
org.apache.commons.lang.StringUtils
方法摘要 |
|
static java.lang.String[] |
addStringToArray(java.lang.String[] array, java.lang.String str) |
static java.lang.String |
applyRelativePath(java.lang.String path, java.lang.String relativePath) |
static java.lang.String |
arrayToCommaDelimitedString(java.lang.Object[] arr) |
static java.lang.String |
arrayToDelimitedString(java.lang.Object[] arr, java.lang.String delim) |
static java.lang.String |
capitalize(java.lang.String str) |
static java.lang.String |
cleanPath(java.lang.String path) |
static java.lang.String |
collectionToCommaDelimitedString(java.util.Collection coll) |
static java.lang.String |
collectionToDelimitedString(java.util.Collection coll, java.lang.String delim) |
static java.lang.String |
collectionToDelimitedString(java.util.Collection coll, java.lang.String delim, java.lang.String prefix, java.lang.String suffix) |
static java.util.Set |
commaDelimitedListToSet(java.lang.String str) |
static java.lang.String[] |
commaDelimitedListToStringArray(java.lang.String str) |
static int |
countOccurrencesOf(java.lang.String str, java.lang.String sub) |
static java.lang.String |
delete(java.lang.String inString, java.lang.String pattern) |
static java.lang.String |
deleteAny(java.lang.String inString, java.lang.String charsToDelete) |
static java.lang.String[] |
delimitedListToStringArray(java.lang.String str, java.lang.String delimiter) |
static boolean |
endsWithIgnoreCase(java.lang.String str, java.lang.String suffix) |
static java.lang.String |
getFilename(java.lang.String path) |
static java.lang.String |
getFilenameExtension(java.lang.String path) |
static boolean |
hasLength(java.lang.String str) |
static boolean |
hasText(java.lang.String str) |
static java.util.Locale |
parseLocaleString(java.lang.String localeString) |
static boolean |
pathEquals(java.lang.String path1, java.lang.String path2) |
static java.lang.String |
quote(java.lang.String str) |
static java.lang.Object |
quoteIfString(java.lang.Object obj) |
static java.lang.String[] |
removeDuplicateStrings(java.lang.String[] array) |
static java.lang.String |
replace(java.lang.String inString, java.lang.String oldPattern, java.lang.String newPattern) |
static java.lang.String[] |
sortStringArray(java.lang.String[] array) |
static java.lang.String[] |
split(java.lang.String toSplit, java.lang.String delimiter) |
static java.util.Properties |
splitArrayElementsIntoProperties(java.lang.String[] array, java.lang.String delimiter) |
static java.util.Properties |
splitArrayElementsIntoProperties(java.lang.String[] array, java.lang.String delimiter, java.lang.String charsToDelete) |
static boolean |
startsWithIgnoreCase(java.lang.String str, java.lang.String prefix) |
static java.lang.String |
stripFilenameExtension(java.lang.String path) |
static java.lang.String[] |
tokenizeToStringArray(java.lang.String str, java.lang.String delimiters) |
static java.lang.String[] |
tokenizeToStringArray(java.lang.String str, java.lang.String delimiters, boolean trimTokens, boolean ignoreEmptyTokens) |
static java.lang.String[] |
toStringArray(java.util.Collection collection) |
static java.lang.String |
trimLeadingWhitespace(java.lang.String str) |
static java.lang.String |
trimTrailingWhitespace(java.lang.String str) |
static java.lang.String |
trimWhitespace(java.lang.String str) |
static java.lang.String |
uncapitalize(java.lang.String str) |
static java.lang.String |
unqualify(java.lang.String qualifiedName) |
static java.lang.String |
unqualify(java.lang.String qualifiedName, char separator) |
从类 java.lang.Object 继承的方法 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
public StringUtils()
public static boolean hasLength(java.lang.String str)
Check if a String has length.
StringUtils.hasLength(null) = false
StringUtils.hasLength("") = false
StringUtils.hasLength(" ") = true
StringUtils.hasLength("Hello") = true
参数:
str - the String to check, may be null
返回:
true if the String is not null and has length
public static boolean hasText(java.lang.String str)
Check if a String has text. More specifically, returns true if the string not null, it's length is > 0, and it has at least one non-whitespace character.
StringUtils.hasText(null) = false
StringUtils.hasText("") = false
StringUtils.hasText(" ") = false
StringUtils.hasText("12345") = true
StringUtils.hasText(" 12345 ") = true
参数:
str - the String to check, may be null
返回:
true if the String is not null, length > 0, and not whitespace only
另请参见:
Character.isWhitespace(char)
public static java.lang.String trimWhitespace(java.lang.String str)
Trim leading and trailing whitespace from the given String.
参数:
str - the String to check
返回:
the trimmed String
另请参见:
Character.isWhitespace(char)
public static java.lang.String trimLeadingWhitespace(java.lang.String str)
Trim leading whitespace from the given String.
参数:
str - the String to check
返回:
the trimmed String
另请参见:
Character.isWhitespace(char)
public static java.lang.String trimTrailingWhitespace(java.lang.String str)
Trim trailing whitespace from the given String.
参数:
str - the String to check
返回:
the trimmed String
另请参见:
Character.isWhitespace(char)
public static boolean startsWithIgnoreCase(java.lang.String str,
java.lang.String prefix)
Test if the given String starts with the specified prefix, ignoring upper/lower case.
参数:
str - the String to check
prefix - the prefix to look for
另请参见:
String.startsWith(java.lang.String, int)
public static boolean endsWithIgnoreCase(java.lang.String str,
java.lang.String suffix)
Test if the given String ends with the specified suffix, ignoring upper/lower case.
参数:
str - the String to check
suffix - the suffix to look for
另请参见:
String.endsWith(java.lang.String)
public static int countOccurrencesOf(java.lang.String str,
java.lang.String sub)
Count the occurrences of the substring in string s.
参数:
str - string to search in. Return 0 if this is null.
sub - string to search for. Return 0 if this is null.
public static java.lang.String replace(java.lang.String inString,
java.lang.String oldPattern,
java.lang.String newPattern)
Replace all occurences of a substring within a string with another string.
参数:
inString - String to examine
oldPattern - String to replace
newPattern - String to insert
返回:
a String with the replacements
public static java.lang.String delete(java.lang.String inString,
java.lang.String pattern)
Delete all occurrences of the given substring.
参数:
pattern - the pattern to delete all occurrences of
public static java.lang.String deleteAny(java.lang.String inString,
java.lang.String charsToDelete)
Delete any character in a given string.
参数:
charsToDelete - a set of characters to delete. E.g. "az\n" will delete 'a's, 'z's and new lines.
public static java.lang.String quote(java.lang.String str)
Quote the given String with single quotes.
参数:
str - the input String (e.g. "myString")
返回:
the quoted String (e.g. "'myString'"), or null if the input was null
public static java.lang.Object quoteIfString(java.lang.Object obj)
Turn the given Object into a String with single quotes if it is a String; keeping the Object as-is else.
参数:
obj - the input Object (e.g. "myString")
返回:
the quoted String (e.g. "'myString'"), or the input object as-is if not a String
public static java.lang.String unqualify(java.lang.String qualifiedName)
Unqualify a string qualified by a '.' dot character. For example, "this.name.is.qualified", returns "qualified".
参数:
qualifiedName - the qualified name
public static java.lang.String unqualify(java.lang.String qualifiedName,
char separator)
Unqualify a string qualified by a separator character. For example, "this:name:is:qualified" returns "qualified" if using a ':' separator.
参数:
qualifiedName - the qualified name
separator - the separator
public static java.lang.String capitalize(java.lang.String str)
Capitalize a String, changing the first letter to upper case as per Character.toUpperCase(char). No other letters are changed.
参数:
str - the String to capitalize, may be null
返回:
the capitalized String, null if null
public static java.lang.String uncapitalize(java.lang.String str)
Uncapitalize a String, changing the first letter to lower case as per Character.toLowerCase(char). No other letters are changed.
参数:
str - the String to uncapitalize, may be null
返回:
the uncapitalized String, null if null
public static java.lang.String getFilename(java.lang.String path)
Extract the filename from the given path, e.g. "mypath/myfile.txt" -> "myfile.txt".
参数:
path - the file path (may be null)
返回:
the extracted filename, or null if none
public static java.lang.String getFilenameExtension(java.lang.String path)
Extract the filename extension from the given path, e.g. "mypath/myfile.txt" -> "txt".
参数:
path - the file path (may be null)
返回:
the extracted filename extension, or null if none
public static java.lang.String stripFilenameExtension(java.lang.String path)
Strip the filename extension from the given path, e.g. "mypath/myfile.txt" -> "mypath/myfile".
参数:
path - the file path (may be null)
返回:
the path with stripped filename extension, or null if none
public static java.lang.String applyRelativePath(java.lang.String path,
java.lang.String relativePath)
Apply the given relative path to the given path, assuming standard Java folder separation (i.e. "/" separators);
参数:
path - the path to start from (usually a full file path)
relativePath - the relative path to apply (relative to the full file path above)
返回:
the full file path that results from applying the relative path
public static java.lang.String cleanPath(java.lang.String path)
Normalize the path by suppressing sequences like "path/.." and inner simple dots.
The result is convenient for path comparison. For other uses, notice that Windows separators ("\") are replaced by simple slashes.
参数:
path - the original path
返回:
the normalized path
public static boolean pathEquals(java.lang.String path1,
java.lang.String path2)
Compare two paths after normalization of them.
参数:
path1 - First path for comparizon
path2 - Second path for comparizon
返回:
whether the two paths are equivalent after normalization
public static java.util.Locale parseLocaleString(java.lang.String localeString)
Parse the given locale string into a java.util.Locale. This is the inverse operation of Locale's toString.
参数:
localeString - the locale string, following java.util.Locale's toString format ("en", "en_UK", etc). Also accepts spaces as separators, as alternative to underscores.
返回:
a corresponding Locale instance
public static java.lang.String[] addStringToArray(java.lang.String[] array,
java.lang.String str)
Append the given String to the given String array, returning a new array consisting of the input array contents plus the given String.
参数:
array - the array to append to (can be null)
str - the String to append
返回:
the new array (never null)
public static java.lang.String[] sortStringArray(java.lang.String[] array)
Turn given source String array into sorted array.
参数:
array - the source array
返回:
the sorted array (never null)
public static java.lang.String[] toStringArray(java.util.Collection collection)
Copy the given Collection into a String array. The Collection must contain String elements only.
参数:
collection - the Collection to copy
返回:
the String array (null if the Collection was null as well)
public static java.lang.String[] removeDuplicateStrings(java.lang.String[] array)
Remove duplicate Strings from the given array. Also sorts the array, as it uses a TreeSet.
参数:
array - the String array
返回:
an array without duplicates, in natural sort order
public static java.lang.String[] split(java.lang.String toSplit,
java.lang.String delimiter)
Split a String at the first occurrence of the delimiter. Does not include the delimiter in the result.
参数:
toSplit - the string to split
delimiter - to split the string up with
返回:
a two element array with index 0 being before the delimiter, and index 1 being after the delimiter (neither element includes the delimiter); or null if the delimiter wasn't found in the given input String
splitArrayElementsIntoProperties
public static java.util.Properties splitArrayElementsIntoProperties(java.lang.String[] array,
java.lang.String delimiter)
Take an array Strings and split each element based on the given delimiter. A Properties instance is then generated, with the left of the delimiter providing the key, and the right of the delimiter providing the value.
Will trim both the key and value before adding them to the Properties instance.
参数:
array - the array to process
delimiter - to split each element using (typically the equals symbol)
返回:
a Properties instance representing the array contents, or null if the array to process was null or empty
splitArrayElementsIntoProperties
public static java.util.Properties splitArrayElementsIntoProperties(java.lang.String[] array,
java.lang.String delimiter,
java.lang.String charsToDelete)
Take an array Strings and split each element based on the given delimiter. A Properties instance is then generated, with the left of the delimiter providing the key, and the right of the delimiter providing the value.
Will trim both the key and value before adding them to the Properties instance.
参数:
array - the array to process
delimiter - to split each element using (typically the equals symbol)
charsToDelete - one or more characters to remove from each element prior to attempting the split operation (typically the quotation mark symbol), or null if no removal should occur
返回:
a Properties instance representing the array contents, or null if the array to process was null or empty
tokenizeToStringArray
public static java.lang.String[] tokenizeToStringArray(java.lang.String str,
java.lang.String delimiters)
Tokenize the given String into a String array via a StringTokenizer. Trims tokens and omits empty tokens.
The given delimiters string is supposed to consist of any number of delimiter characters. Each of those characters can be used to separate tokens. A delimiter is always a single character; for multi-character delimiters, consider using delimitedListToStringArray
参数:
str - the String to tokenize
delimiters - the delimiter characters, assembled as String (each of those characters is individually considered as delimiter).
返回:
an array of the tokens
另请参见:
StringTokenizer, String.trim(), delimitedListToStringArray(java.lang.String, java.lang.String)
public static java.lang.String[] tokenizeToStringArray(java.lang.String str,
java.lang.String delimiters,
boolean trimTokens,
boolean ignoreEmptyTokens)
Tokenize the given String into a String array via a StringTokenizer.
The given delimiters string is supposed to consist of any number of delimiter characters. Each of those characters can be used to separate tokens. A delimiter is always a single character; for multi-character delimiters, consider using delimitedListToStringArray
参数:
str - the String to tokenize
delimiters - the delimiter characters, assembled as String (each of those characters is individually considered as delimiter)
trimTokens - trim the tokens via String's trim
ignoreEmptyTokens - omit empty tokens from the result array (only applies to tokens that are empty after trimming; StringTokenizer will not consider subsequent delimiters as token in the first place).
返回:
an array of the tokens
另请参见:
StringTokenizer, String.trim(), delimitedListToStringArray(java.lang.String, java.lang.String)
public static java.lang.String[] delimitedListToStringArray(java.lang.String str,
java.lang.String delimiter)
Take a String which is a delimited list and convert it to a String array.
A single delimiter can consists of more than one character: It will still be considered as single delimiter string, rather than as bunch of potential delimiter characters - in contrast to tokenizeToStringArray.
参数:
str - the input String
delimiter - the delimiter between elements (this is a single delimiter, rather than a bunch individual delimiter characters)
返回:
an array of the tokens in the list
另请参见:
tokenizeToStringArray(java.lang.String, java.lang.String)
commaDelimitedListToStringArray
public static java.lang.String[] commaDelimitedListToStringArray(java.lang.String str)
Convert a CSV list into an array of Strings.
参数:
str - CSV list
返回:
an array of Strings, or the empty array if s is null
public static java.util.Set commaDelimitedListToSet(java.lang.String str)
Convenience method to convert a CSV string list to a set. Note that this will suppress duplicates.
参数:
str - CSV String
返回:
a Set of String entries in the list
public static java.lang.String arrayToDelimitedString(java.lang.Object[] arr,
java.lang.String delim)
Convenience method to return a String array as a delimited (e.g. CSV) String. E.g. useful for toString() implementations.
参数:
arr - array to display. Elements may be of any type (toString will be called on each element).
delim - delimiter to use (probably a ",")
collectionToDelimitedString
public static java.lang.String collectionToDelimitedString(java.util.Collection coll,
java.lang.String delim,
java.lang.String prefix,
java.lang.String suffix)
Convenience method to return a Collection as a delimited (e.g. CSV) String. E.g. useful for toString() implementations.
参数:
coll - Collection to display
delim - delimiter to use (probably a ",")
prefix - string to start each element with
suffix - string to end each element with
public static java.lang.String collectionToDelimitedString(java.util.Collection coll,
java.lang.String delim)
Convenience method to return a Collection as a delimited (e.g. CSV) String. E.g. useful for toString() implementations.
参数:
coll - Collection to display
delim - delimiter to use (probably a ",")
public static java.lang.String arrayToCommaDelimitedString(java.lang.Object[] arr)
Convenience method to return a String array as a CSV String. E.g. useful for toString() implementations.
参数:
arr - array to display. Elements may be of any type (toString will be called on each element).
collectionToCommaDelimitedString
public static java.lang.String collectionToCommaDelimitedString(java.util.Collection coll)
Convenience method to return a Collection as a CSV String. E.g. useful for toString() implementations.
参数:
coll - Collection to display
|
|||||||||
发表评论
-
RESTFUL
2013-05-29 17:21 0a -
hibernate命名查询问题
2013-01-30 16:38 1359hibernate 注解 @OneToOne(fetc ... -
hibernate [Null value was assigned to a property of primitive type setter of sco
2012-12-25 19:51 1147今天开发时候 hibernate 查询报错,分析原因如下: ... -
Arrays.asList详解
2012-09-10 09:52 915Arrays.asList详解 记得以前写过一 ... -
mapper.readValue读取null
2012-08-17 19:21 2680如下代码,这样写不会走catch方法,此方法不报ioExcep ... -
string.split(",")返回的长度问题
2012-08-17 15:38 941String test = "#我的测试#&q ... -
thumbnailator 图片缩放问题
2012-08-17 19:29 2797这段代码上传1.7m图片会报错: publ ... -
模拟微博新鲜事短网址处理方式
2012-08-16 17:40 0a -
新鲜事短连接
2012-08-19 12:01 981现在需求如下: 使 ... -
jackson objectMapper.readValue 读取并存成想要的类型
2012-07-26 20:16 3778两种方式: java反射里面有个很有趣的东东,反射解析成li ... -
spring mvc responseBody 会把特殊字符转义
2012-07-26 19:53 4557框架用的spring 采用spring mvc 方式进行图片上 ... -
Out of range value for column 'bindUid' at row 1
2012-07-19 20:35 1518今天弄新浪微博绑定,数据库oauth_token表需要插入bi ... -
spring mvc 自己遇到的几个错误
2012-06-13 14:36 1233where 1=1 and t.name like '%&q ... -
Request method 'POST' not supported
2012-06-08 10:53 5235项目采用spring mvc框架实现,插入数据时候采用 ... -
beanPropertyRowMapper
2012-08-10 11:24 1136@SuppressWarnings(&quo ... -
org.codehaus.jackson.map.JsonMappingException
2012-08-17 19:30 1025当一个类的所有属性都没有getter时(所有属性都是publi ... -
validApiToken
2012-08-10 11:26 1000/** * 检验token的有效性 * @p ... -
split
2012-05-23 10:46 1227//String[] idArr = StringUtil ... -
spring mvc title展示的几种写法
2012-05-18 17:16 1129我记录的是工作中遇到的,容易忽视的问题,高手可以绕行了。积累也 ... -
c:import src="" jsp页面同步方式获取数据
2012-05-14 11:28 1119可以把页面分割成不同的几块,同步方式获取数据。即分别调用 ...
相关推荐
在Java实现JPA(Java Persistence API)+ MyBatis的持久化方案中,`SpringUtils.java`的角色尤其重要。JPA提供了ORM(对象关系映射)的能力,使得Java对象可以直接操作数据库,而MyBatis则擅长处理复杂的SQL查询和...
7. **HTTP客户端**:对于需要与其他服务进行交互的小型项目,SpringUtils可能会提供一个HTTP客户端,方便进行RESTful API的调用。 8. **验证工具**:SpringUtils可能包含数据验证功能,例如利用JSR-303/JSR-349的...
# 压缩文件中包含: 中文文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;
# 压缩文件中包含: 中文-英文对照文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文-英文对照文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;
矢量边界,行政区域边界,精确到区县,可直接导入arcgis使用
# 压缩文件中包含: 中文文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;
内容概要:本文详细介绍了基于Maxwell仿真的16极18槽轴向磁通永磁电机模型的设计与性能分析。该电机功率为1500W,外径190mm,输出转矩3.7Nm。文章从引言开始,逐步探讨了Maxwell模型的特点及其在电机设计中的应用。接着,通过对磁场分布、电流控制和效率分析等方面的深入讨论,展示了电机的高性能和稳定性。最后,通过波形图解析,验证了电机的稳定输出特性,证明其适用于多种应用场景。 适合人群:从事电机设计、电磁仿真领域的工程师和技术人员,以及相关专业的学生。 使用场景及目标:① 学习和掌握轴向磁通永磁电机的设计方法;② 理解Maxwell仿真工具在电机设计中的应用;③ 分析并优化电机的性能参数,如磁场分布、电流控制和效率。 其他说明:该电机模型不仅提供了理论支持,还为实际工程应用提供了宝贵的参考依据。
# 压缩文件中包含: 中文-英文对照文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文-英文对照文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;
内容概要:本文介绍了基于Matlab GUI界面的数字图像处理系统,涵盖了图像增强、图像分割、图像变换、图像复原和图像编码五大功能模块。通过Matlab的强大数据处理能力和图形用户界面,用户能够便捷地执行多种图像处理任务。每个功能模块都提供了具体的算法选择,如直方图均衡化用于图像增强,阈值分割和边缘检测用于图像分割,仿射变换用于图像变换,去噪和锐化算法用于图像复原,以及JPEG和PNG编码用于图像压缩。文中还给出了部分功能的简单代码示例,帮助用户理解和应用。 适合人群:对数字图像处理感兴趣的初学者和有一定编程基础的研究人员。 使用场景及目标:适用于需要进行图像处理实验、研究或开发的应用场景,旨在提升图像质量和效率,满足不同领域的图像处理需求。 其他说明:该系统不仅提供直观的操作界面,还支持自定义算法集成,便于进一步扩展和优化。
带升压转换器和扰动观测算法的MPPT MATLAB Simulink中采用摄动与观测(P&O)算法的升压转换器MPPT 带P&O的MPPT将通过调整升压转换器的占空比来跟踪最大功率点,以在不断变化的条件下最大化输出功率。
内容概要:本文详细介绍了双向Buck-Boost变换器的技术特性及其在不同应用场景中的工作模式。首先对双向Buck-Boost变换器进行了概述,指出其作为高效电源转换器的重要地位。接着,文章重点探讨了三种主要工作模式——恒功率模式、恒电流模式和稳压模式的具体运作机制及其应用场景。恒功率模式适用于电池供电系统,能动态调整输出以保持稳定功率;恒电流模式则用于需要精确电流控制的场合,如电机驱动和LED照明;而稳压模式主要用于维持特定电压输出,保障电力系统的稳定性。此外,文中还分析了变换器的设计和技术细节,强调了其宽电压范围、高效率和电磁兼容性等特点。最后,文章探讨了双向Buck-Boost变换器在电源供应和电动汽车等领域的具体应用。 适用人群:从事电源管理、电力电子、电动汽车等领域工作的工程师和技术人员。 使用场景及目标:帮助读者深入了解双向Buck-Boost变换器的工作原理和技术细节,掌握其在不同应用场景中的配置方法,从而优化实际项目中的电源管理和能量转换效率。 其他说明:本文不仅提供了理论分析,还结合了实际案例,有助于读者更好地理解和应用这项技术。
# 压缩文件中包含: 中文-英文对照文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文-英文对照文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;
# 压缩文件中包含: 中文文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;
内容概要:本文介绍了一款基于STM32单片机的智能加湿器的设计与实现。该加湿器结合了蓝牙语音控制、超声波传感器、温湿度传感器和舵机,实现了语音指令控制、环境温湿度监测、人机交互和智能喷雾控制等功能。系统通过蓝牙模块接收语音指令,温湿度传感器实时监测环境数据,超声波传感器检测用户距离并提供语音提示,舵机则用于调整喷雾角度。硬件部分包括STM32F103单片机、HC-05蓝牙模块、DHT11温湿度传感器、HC-SR04超声波传感器、SG90舵机、LCD显示屏和蜂鸣器。软件部分详细介绍了系统初始化、各模块功能设计及调试过程。最终测试表明该设计在功能、性能和可靠性方面表现出色,具有较高的市场价值和应用前景。 适合人群:对嵌入式系统和智能家居感兴趣的电子工程专业学生、硬件开发者及科研人员。 使用场景及目标:①适用于家庭、办公室等场景,提升室内环境舒适度;②通过语音控制、温湿度监测和智能喷雾等功能,实现便捷、高效的加湿体验;③为后续智能家居产品研发提供参考和技术支持。 其他说明:论文附有详细的C++源代码,可供读者深入研究和实际操作。未来可通过加入更多传感器(如空气质量传感器)和Wi-Fi模块,进一步扩展功能和提升用户体验。
内容概要:本文介绍了Python爬虫与JSON的基础知识及其结合应用。首先讲述了Python爬虫的概念、优势以及工作流程,包括发起请求、获取响应内容、解析内容和保存数据四个主要步骤。接着阐述了JSON的定义、语法结构及其在数据交互中的重要性,并详细讲解了Python内置json模块的使用方法。通过两个具体案例,演示了如何利用Python爬虫抓取网站数据并以JSON格式保存,以及如何从JSON数据中提取特定信息。最后讨论了应对反爬虫机制的方法和注意事项,强调了数据合法性和道德规范的重要性。 适合人群:对Python爬虫和JSON感兴趣,有一定编程基础的学习者,尤其是希望从事数据抓取、数据分析工作的技术人员。 使用场景及目标:①帮助读者理解Python爬虫的工作原理,掌握基本的爬虫技术和库的使用;②学会处理JSON格式的数据,包括解析、转换和保存;③了解如何应对常见的反爬虫机制,确保爬虫程序稳定运行;④培养数据合法性和道德意识,确保爬虫行为符合法律法规。 阅读建议:本文内容丰富,涵盖了从基础到进阶的知识点。建议读者在学习过程中,不仅要理解理论知识,还要动手实践,尝试编写简单的爬虫程序,逐步掌握Python爬虫与JSON的结合应用。同时,关注行业动态和技术发展,不断提升自己的技术水平。
内容概要:本文介绍了一种针对多目标点移动机器人的路径规划方法,该方法将改进后的A*算法与模拟退火算法相结合,用于解决室内环境下的旅行商问题。具体来说,改进A*算法负责计算各目标点间最短路径并确保路径符合实际行走规则(如仅限水平垂直移动),而模拟退火算法则用来确定最佳访问顺序。此外,文中还详细描述了如何处理路径中的特殊状况,如转弯处的处理以及避免与其他物体发生碰撞的方法。通过这种方式,不仅提高了路径规划效率,而且使得机器人能够更加平稳地完成任务。 适用人群:对机器人路径规划感兴趣的科研工作者、工程师和技术爱好者。 使用场景及目标:适用于需要精确路径规划的应用场合,特别是涉及多站点访问的任务,如办公楼内的送餐服务。主要目的是提高工作效率,减少因路径选择不当造成的延误或事故。 其他说明:文中提供了具体的算法实现细节,包括Python代码片段,有助于读者理解和复现相关技术。同时强调了实际应用中的注意事项,如考虑物理空间限制和动态环境变化等因素的影响。
内容概要:本文详细介绍了如何使用LSTM(长短期记忆)神经网络进行光功率预测。首先解释了LSTM的基本概念及其在处理序列数据中的优势,接着讨论了影响光伏发电的各种因素,如天气状况、季节变化、时间点和地理位置。然后,文章逐步讲解了构建LSTM光功率预测模型的具体步骤,包括数据预处理、模型构建、训练和预测。最后,通过一个实际案例展示了如何使用Python代码实现96点光伏发电功率的预测,并展示了预测结果的可视化图表。 适合人群:对机器学习和光伏能源感兴趣的科研人员、工程师和技术爱好者。 使用场景及目标:适用于希望深入了解LSTM在光功率预测中的应用,掌握从数据准备到模型部署完整流程的人群。目标是提高光功率预测的准确性,从而优化电力系统的稳定性和效率。 阅读建议:读者可以通过跟随文中提供的代码示例,动手实践LSTM模型的搭建和训练,同时关注各影响因素对预测效果的作用机制。
内容概要:本文介绍了基于YOLOv5的布匹缺陷检测方法,强调了布匹质量检测在制造业中的重要性。YOLOv5作为一种高效的目标检测算法,在布匹缺陷检测方面表现出色。文中详细解析了YOLOv5的源码实现,包括模型初始化、图像加载与检测的具体步骤。同时,还讨论了构建高质量数据集的方法及其在模型训练中的作用。最后,阐述了该技术的实际应用场景,如自动化生产线中的实时检测,提高了生产效率和产品质量,减少了人工成本和错误率。 适合人群:从事计算机视觉、深度学习研究的技术人员,尤其是关注工业质检领域的开发者。 使用场景及目标:适用于希望利用深度学习提升布匹质量检测精度的企业和技术团队,旨在提高生产效率、降低人工成本和减少错误率。 其他说明:本文提供了完整的源码和数据集资源,便于读者快速上手实践,深入理解YOLOv5的工作原理及其在布匹缺陷检测中的具体应用。
内容概要:本文详细介绍了STM32F103系列芯片通过WiFi实现OTA(Over-The-Air)远程升级的技术方案及其具体实施步骤。文中涵盖了升级文件的特点、升级过程的关键环节如获取云端info文件、版本对比、HTTP下载程序文件等。此外,还提供了bootloader源码、bin文件CRC校验处理工具及操作说明,确保升级过程的稳定性和可靠性。 适用人群:嵌入式系统开发者、物联网工程师、智能硬件开发者。 使用场景及目标:适用于需要对STM32F103系列芯片进行远程固件升级的项目,旨在提升设备的功能和性能,确保升级过程的安全性和稳定性。 其他说明:通过WiFi连接实现OTA升级的方法,不仅可以节省时间和成本,还能有效避免传统物理连接升级带来的不便。文中提供的详细步骤和技术细节有助于开发者更好地理解和掌握这一技术。
# 压缩文件中包含: 中文文档 jar包下载地址 Maven依赖 Gradle依赖 源代码下载地址 # 本文件关键字: jar中文文档.zip,java,jar包,Maven,第三方jar包,组件,开源组件,第三方组件,Gradle,中文API文档,手册,开发手册,使用手册,参考手册 # 使用方法: 解压最外层zip,再解压其中的zip包,双击 【index.html】 文件,即可用浏览器打开、进行查看。 # 特殊说明: ·本文档为人性化翻译,精心制作,请放心使用。 ·只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等; ·不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等。 # 温馨提示: (1)为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地); (2)有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件;