Java String Shorten shorten(String fullClassName)

Here you can find the source of shorten(String fullClassName)

Description

shorten

License

Apache License

Declaration

public static String shorten(String fullClassName) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String shorten(String fullClassName) {
        return fullClassName.substring(fullClassName.lastIndexOf('.') + 1);
    }/*from   w  w w  .  j av a  2s. com*/
}

Related

  1. shorten(byte[] array, int length)
  2. shorten(String className)
  3. shorten(String className)
  4. shorten(String clazz)
  5. shorten(String in)
  6. shorten(String input)
  7. shorten(String input, int length, boolean wholeWord)
  8. shorten(String label, int maxLength)