hoplugins.teamAnalyzer.util
Class NameUtil

java.lang.Object
  extended byhoplugins.teamAnalyzer.util.NameUtil

public class NameUtil
extends java.lang.Object

Team Player's name utility

Author:
Massimiliano Amato

Constructor Summary
NameUtil()
           
 
Method Summary
static java.lang.String getInitials(java.lang.String name)
          Returns only the first name initial(s) for a player name, separated by "."
static java.lang.String getLastName(java.lang.String name)
          Returns the player last name
static java.lang.String getPlayerDesc(java.lang.String name)
          Returns the player description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameUtil

public NameUtil()
Method Detail

getInitials

public static java.lang.String getInitials(java.lang.String name)
Returns only the first name initial(s) for a player name, separated by "."

Parameters:
name - The player fullname
Returns:
The first name initial(s)

getLastName

public static java.lang.String getLastName(java.lang.String name)
Returns the player last name

Parameters:
name - The player fullname
Returns:
the lastname

getPlayerDesc

public static java.lang.String getPlayerDesc(java.lang.String name)
Returns the player description

Parameters:
name - player fullname
Returns:


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.