Java String Lower Case toLowerCaseSubsystemType(String s)

Here you can find the source of toLowerCaseSubsystemType(String s)

Description

to Lower Case Subsystem Type

License

Open Source License

Declaration

public static String toLowerCaseSubsystemType(String s) 

Method Source Code

//package com.java2s;
// it under the terms of the GNU General Public License as published by

public class Main {
    public static String toLowerCaseSubsystemType(String s) {
        if (s == null) {
            return null;
        }/*from w  w w  .  j  a v a 2s .  c om*/
        if (s.equalsIgnoreCase("CA")) {
            return "ca";
        } else if (s.equalsIgnoreCase("KRA")) {
            return "kra";
        } else if (s.equalsIgnoreCase("OCSP")) {
            return "ocsp";
        } else if (s.equalsIgnoreCase("TKS")) {
            return "tks";
        } else if (s.equalsIgnoreCase("TPS")) {
            return "tps";
        }
        return null;
    }
}

Related

  1. toLowerCaseIdent(String ident)
  2. toLowerCaseIgnoreNull(String tobeDone)
  3. toLowerCaseInitial(String srcString, boolean flag)
  4. toLowerCaseSafe(String str)
  5. toLowercaseSlug(String string)
  6. toLowercaseWithDashes(String text)
  7. toLowerCaseWithSepStyle(String string, String separator)
  8. toLowerCaseWithUnderscores(String className)
  9. toLowerCaseWithUnderscores(String str)