- generate(HttpServletRequest) - Method in SessionKeyGenerator
-
根据HttpRequest,生成Cache Key
- generate(HttpServletRequest) - Method in UserKeyGenerator
-
根据HttpRequest,生成Cache Key
- get(String, Serializable) - Method in CacheUtils
-
从缓存中获得值
- get(FTPClient, String, String) - Method in FtpUtils
-
下载文件。
- get(String, Map, HttpClient, HttpContext, boolean) - Method in HttpUtils
-
远程get数据
- getActionName() - Method in ServletUtils
-
获得当前控制器操作名
- getAddressesByName(String, boolean, boolean) - Method in InetUtils
-
根据主机名(或域名),获得其IP地址
- getAsText() - Method in DateEditor
-
- getAutoImportClasses() - Method in GrailsUtils
-
根据配置 bropen.toolkit.autoimport.classes.xxxx 获得将要在GSP、Script中自动导入的类列表
- getBean(def) - Method in BeanUtils
-
获得Spring Bean
- getBootstrapArtefacts(String) - Method in GrailsUtils
-
获得所有 Bootstrap 类,并按照插件的依赖关系排序。
- getCache(String) - Method in CacheUtils
-
获得缓存对象
- getCellValue(Cell, FormulaEvaluator, Integer, Integer) - Method in MSExcelUtils
-
获得单元格的内存
- getCellValueDate(Cell) - Method in MSExcelUtils
-
获得单元格的日期内容,如果转换错误,则返回null
- getCellValueString(Cell, FormulaEvaluator) - Method in MSExcelUtils
-
获得单元格的文字内容,数字自动转成文字
- getCharset(HttpResponse, String) - Method in HttpUtils
-
根据HttpResponse获得返回内容的字符集
- getClassLocation(Class) - Method in DebugUtils
-
获得类的class文件路径
- getClassTemplates() - Method in Groovydoc
-
- getClientBrowser(String) - Method in ServletUtils
-
获得客户端浏览器类型
- getClientBrowserVersion(HttpServletRequest) - Method in ServletUtils
-
获得客户端浏览器版本
- getClientIpAddr(HttpServletRequest) - Method in ServletUtils
-
获得客户端IP地址
- getClusterNode(boolean) - Method in ServletUtils
-
获取当前集群节点(实验性质)
- getClusterNodes(boolean) - Method in ServletUtils
-
获得所有集群节点(实验性质,需配置 clusters.properties、并在系统防火墙中开放ehcache同步端口)
- getConfig(String) - Method in GrailsUtils
-
获取Config值。
- getConnection() - Method in DatasourceConnectionProvider
-
获取一个数据库连接
- getConnection(String) - Method in DbUtils
-
通过dataSource获得一个新的JDBC数据库连接(和当前hibernate session所用的不是一个)。
- getConnectionUnproxied(String) - Method in DbUtils
-
- getContentType(HttpResponse, String) - Method in HttpUtils
-
根据HttpResponse获得返回内容的content type
- getControllerName() - Method in ServletUtils
-
获得当前控制器名称
- getControllerURI(HttpServletRequest) - Method in ServletUtils
-
根据http请求,获得控制器的URI,如:/Foo/bar/
- getCookies(HttpContext) - Method in HttpUtils
-
从context的CookieStore中取出所有Cookie
- getCurrentConnection(String) - Method in DbUtils
-
获得当前 hibernate session 的数据库连接,可以统一进行事务操作与回滚。
- getCurrentSession(String) - Method in DbUtils
-
获得当前的 Hibernate Session。
- getCurrentSql(String, Closure) - Method in DbUtils
-
获得一个Groovy Sql数据库连接,和当前hibernate session使用同一个connection,可以统一进行事务操作与回滚。
- getCurrentTransactionStatus() - Method in DbUtils
-
获得当前事务(即withTransaction的参数status)
- getDatabaseName(String) - Method in DbUtils
-
获得数据库名称。
- getDataSourceNameByDomain(String) - Method in DbUtils
-
获取domain类所使用的DataSourceName.如果不是系统默认的DataSource,会以"_"开头。
- getDataSourceNames() - Method in DbUtils
-
获得所有数据源名称列表
- getDocTemplates() - Method in Groovydoc
-
- getDomainClass(Object) - Method in CSVCodec
-
- getDropSequenceString(String) - Method in H2Dialect
-
Hibernate Bug
- getError() - Method in Executor
-
如果设置了 catchOutput,则可以获得命令的错误输出信息
- getExpiryDate() - Method in LtpaDecoder
-
- getField(Object, String, Class) - Method in DebugUtils
-
使用反射机制,获得 private 或 protected 的成员变量的值.
- getFullToken() - Method in LtpaDecoder
-
- getGroupUniqueValidator(String, List) - Method in BeanUtils
-
用于Domain多属性唯一性校验的校验器
- getInaccessibleField(Object, String, Class) - Method in DebugUtils
-
- getLdapTemplate(String) - Method in LdapUtils
-
根据配置的ldap上下文名称,获得对应的LdapTemplate
- getLocalAddresses(boolean, boolean) - Method in InetUtils
-
获得本机的所有IPv4地址
- getLocale(HttpServletRequest) - Method in ServletUtils
-
获得当前请求的locale
- getLocalMacAddresses() - Method in InetUtils
-
获得本机所有已启用网卡的MAC地址
- getMacAddress(String) - Method in InetUtils
-
获得主机的MAC地址
- getOutput() - Method in Executor
-
如果设置了 catchOutput,则可以获得命令的输出信息
- getPackageTemplates() - Method in Groovydoc
-
- getParams() - Method in ServletUtils
-
获得当前控制器操作请求中的params对象
- getPersistentProperties(Class) - Method in BeanUtils
-
获得Domain类的所有可持久化的属性信息,包括名称、类型、是否引用其他Domain类、是否hasMany等
- getPluginManager() - Method in GrailsUtils
-
获得插件管理器
- getPluginRealPath(String) - Method in GrailsUtils
-
根据插件名称,获得 web-app 在文件系统中的绝对路径。
- getPluginResPath(String) - Method in GrailsUtils
-
根据插件名称,获得其在Web应用中的资源路径,用来生成访问其资源文件的路径(如js等)
- getProperties(Object) - Method in CSVCodec
-
- getProperty(Object, String) - Method in BeanUtils
-
获得对象的属性(含 protected 的属性)
- getQuerySequencesString() - Method in Oracle10gDialect
-
- getReferencedPropertyTypeName(DefaultGrailsDomainClass, String) - Method in CSVCodec
-
- getRequest() - Method in ServletUtils
-
获得当前请求的request对象
- getRequestBody(HttpServletRequest) - Method in ServletUtils
-
当请求不是以参数方式提交时(如WebService),获得请求内容的字符串
- getRequestURI(HttpServletRequest, Boolean) - Method in ServletUtils
-
计算访问的URI
- getResource(String) - Method in FileUtils
-
从WEB应用的 classpath 中获得资源文件(如 properties 文件),包括 jar 包中的文件
- getResourceText(String, String) - Method in FileUtils
-
获得资源文件的内容
- getResponse() - Method in ServletUtils
-
获得当前请求的response对象
- getServerHost(HttpServletRequest, boolean) - Method in ServletUtils
-
获得服务器的主机地址
- getServerURL(def) - Method in GrailsUtils
-
计算应用服务器的绝对地址
- getServerURL(HttpServletRequest, boolean) - Method in ServletUtils
-
获得服务器的绝对地址,如:http://xxx/cc/
- getSession() - Method in ServletUtils
-
获得当前请求用户的session
- getSessionFactory(String) - Method in DbUtils
-
获得 Hibernate SessionFactory
- getSignature() - Method in LtpaDecoder
-
- getSql(Map) - Method in DbUtils
-
获得一个原始的Groovy Sql数据库连接。
- getSqlCurrent(String) - Method in DbUtils
-
- getSqls(String) - Method in ConnectionInitSqls
-
@return
- Parameters:
- poolName
- getSqlUnproxied(String) - Method in DbUtils
-
- getTargetType() - Method in DateValueConverter
-
@see ValueConverter
- getTargetType() - Method in StringValueConverter
-
@see ValueConverter
- getThrowableStacktrace(Throwable) - Method in StringUtils
-
- getType(String) - Method in OracleClobType
-
获得大文本字段的属性类型:除oracle数据库外,都返回 text。
- getUserInfo() - Method in LtpaDecoder
-
- getUsername() - Method in LtpaDecoder
-
- getUserPluginNames() - Method in GrailsUtils
-
获得所有按照依赖关系排序后的插件名称列表
- getWebappPath() - Method in ServletUtils
-
获得应用的web文件夹路径,如 /opt/Tomcat7/webapps/Foobar,或者开发环境下工程的 web-app 文件夹
- getWeekInfo(Date) - Method in DateUtils
-
获得日期所对应该年的周信息
- GibberishAES - Class in bropen.toolkit.utils.security
兼容 Gibberish AES 的 java 实现版本,目前只支持其默认的256位加密。
- GrailsUtils - Class in bropen.toolkit.utils.grails
Grails & Groovy 相关工具
- Groovydoc - Class in bropen.toolkit.ant
通过脚本事件 DocStart 覆盖默认的 Groovydoc,以实现一些定制功能
- groupBy(Object, List<String>, String) - Method in CollectionUtils
-
根据集合中的元素属性对集合进行分组,代替 groupBy 闭包以提升性能