2 * Copyright (C) 2004-2006 Jabref-Team
4 * All programs in this directory and subdirectories are published under the GNU
5 * General Public License as described below.
7 * This program is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option) any later
12 * This program is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
17 * You should have received a copy of the GNU General Public License along with
18 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19 * Place, Suite 330, Boston, MA 02111-1307 USA
21 * Further information about the GNU GPL is available at:
22 * http://www.gnu.org/copyleft/gpl.ja.html
25 package net.sf.jabref.export.layout.format;
27 import net.sf.jabref.export.layout.LayoutFormatter;
30 * Duplicate of AuthorLastFirstAbbreviator.
32 * @see AuthorLastFirstAbbreviator
34 * @author Carlos Silla
36 public class AuthorAbbreviator implements LayoutFormatter {
41 * @see net.sf.jabref.export.layout.LayoutFormatter#format(java.lang.String)
43 public String format(String fieldText) {
44 // It seems to me that this formatter and AuthorLastFirstAbbreviator
45 // are duplicates. Since the latter was patched to improve handling of
46 // some names, we refer the operation there:
47 return (new AuthorLastFirstAbbreviator()).format(fieldText);