Java String Sanitize sanitizeColumn(String colName, String relationName)

Here you can find the source of sanitizeColumn(String colName, String relationName)

Description

sanitize Column

License

Open Source License

Declaration

public static String sanitizeColumn(String colName, String relationName) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String sanitizeColumn(String colName, String relationName) {
        return colName.contains(".") ? colName : relationName + "." + colName;
    }/*from w  ww.j a va  2  s  .  c  o  m*/
}

Related

  1. sanitizeBranchName(String currentBranch)
  2. sanitizeBrowserName(String browserName)
  3. sanitizeChatMessage(String message)
  4. sanitizeClassname(String classname)
  5. sanitizeClassName(String s)
  6. sanitizeCompletion(String replace)
  7. sanitizeDescription(String description)
  8. sanitizeDir(String name)
  9. sanitizeFolderName(String s)