org.eclipse.persistence.internal.helper.Helper.removeVowels()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(97)

本文整理了Java中org.eclipse.persistence.internal.helper.Helper.removeVowels()方法的一些代码示例,展示了Helper.removeVowels()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Helper.removeVowels()方法的具体详情如下:
包路径:org.eclipse.persistence.internal.helper.Helper
类名称:Helper
方法名:removeVowels

Helper.removeVowels介绍

[英]Returns a String which has had enough of the specified character removed to be equal to the maximumStringLength.
[中]返回一个字符串,该字符串已删除足够多的指定字符,使其等于maximumStringLength。

代码示例

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

if (uniqueKeyName.length() > maximumNameLength) {
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  uniqueKeyName = Helper.truncate(shortenedTableName, maximumNameLength - serialName.length()) + serialName;

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

if (uniqueKeyName.length() > maximumNameLength) {
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  uniqueKeyName = Helper.truncate(shortenedTableName, maximumNameLength - serialName.length()) + serialName;

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

if (uniqueKeyName.length() > maximumNameLength) {
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  uniqueKeyName = Helper.truncate(shortenedTableName, maximumNameLength - serialName.length()) + serialName;

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

if (foreignKeyName.length() > maximumNameLength) {
  String shortenedFieldName = Helper.removeVowels(onlyAlphaNumericFieldName);
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  int delimiterLength = startDelimiter.length() + endDelimiter.length();
  if (shortenedFieldName.length() + delimiterLength >= maximumNameLength) {

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

if (foreignKeyName.length() > maximumNameLength) {
  String shortenedFieldName = Helper.removeVowels(onlyAlphaNumericFieldName);
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  int delimiterLength = startDelimiter.length() + endDelimiter.length();
  if (shortenedFieldName.length() + delimiterLength >= maximumNameLength) {

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

if (foreignKeyName.length() > maximumNameLength) {
  String shortenedFieldName = Helper.removeVowels(onlyAlphaNumericFieldName);
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  int delimiterLength = startDelimiter.length() + endDelimiter.length();
  if (shortenedFieldName.length() + delimiterLength >= maximumNameLength) {

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

if (indexName.length() > maximumNameLength) {
  String shortenedFieldName = Helper.removeVowels(onlyAlphaNumericFieldName);
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  int delimiterLength = startDelimiter.length() + endDelimiter.length();
  if (shortenedFieldName.length() + delimiterLength >= maximumNameLength) {

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

if (indexName.length() > maximumNameLength) {
  String shortenedFieldName = Helper.removeVowels(onlyAlphaNumericFieldName);
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  int delimiterLength = startDelimiter.length() + endDelimiter.length();
  if (shortenedFieldName.length() + delimiterLength >= maximumNameLength) {

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

if (indexName.length() > maximumNameLength) {
  String shortenedFieldName = Helper.removeVowels(onlyAlphaNumericFieldName);
  String shortenedTableName = Helper.removeVowels(onlyAlphaNumericTableName);
  int delimiterLength = startDelimiter.length() + endDelimiter.length();
  if (shortenedFieldName.length() + delimiterLength >= maximumNameLength) {

相关文章

Helper类方法