Java Integer Create toInternalName(String className)

Here you can find the source of toInternalName(String className)

Description

to Internal Name

License

Apache License

Declaration

public static String toInternalName(String className) 

Method Source Code

//package com.java2s;
// Licensed under the Apache License, Version 2.0 (the "License");

public class Main {
    public static String toInternalName(String className) {
        assert isNonBlank(className);

        return className.replace('.', '/');
    }//  w  ww.j  a  va  2  s.  c  om

    public static boolean isNonBlank(String input) {
        return !isBlank(input);
    }

    public static boolean isBlank(String input) {
        return input == null || input.length() == 0
                || input.trim().length() == 0;
    }
}

Related

  1. toInternalClassName(String className)
  2. toInternalClassName(String name)
  3. toInternalDescription(String className)
  4. toInternalForm(String internalForm)
  5. toInternalName(String className)
  6. toInternalName(String className)
  7. toInternalName(String className)
  8. toInternalName(String className)
  9. toInternalName(String fullName)