Java Identity to String identityToSubject(String identity)

Here you can find the source of identityToSubject(String identity)

Description

identity To Subject

License

Open Source License

Declaration

public static String identityToSubject(String identity) 

Method Source Code

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

public class Main {
    public static String identityToSubject(String identity) {
        if (identity != null) {
            String s = identity.substring(1);
            return s.replace('/', ',');
        } else {/*from  w  ww  .java2s  .c  o m*/
            return null;
        }
    }
}

Related

  1. identityToString(Object obj)
  2. identityToString(Object obj)
  3. identityToString(Object obj)
  4. identityToString(Object pObject)
  5. identityToString(StringBuffer buffer, Object object)