public class

ClassNameAbbreviator

extends Object
java.lang.Object
   ↳ com.atlassian.jira.util.ClassNameAbbreviator

Class Overview

Class name abbreviator. This will abbreviate the package name of a class name from, for example, com.atlassian.jira.util.ClassNameAbbreviator to c.a.j.u.ClassNameAbbreviator

Summary

Fields
public static final ClassNameAbbreviator DEFAULT
Public Constructors
ClassNameAbbreviator(int minChunks)
Create a new abbreviator.
Public Methods
String getAbbreviatedName(String name)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final ClassNameAbbreviator DEFAULT

Public Constructors

public ClassNameAbbreviator (int minChunks)

Create a new abbreviator.

Parameters
minChunks if the name is not actually a class name pattern, we will still compress but leave this many chunks

Public Methods

public String getAbbreviatedName (String name)