Package net.sf.jabref.export.layout.format.plugin

Examples of net.sf.jabref.export.layout.format.plugin.NameFormat.format()


    // Three names
    assertEquals("von Neumann John, Smith, John and Black~Brown, Peter", a
      .format("von Neumann, John and Smith, John and Black Brown, Peter", formatString, null));

    assertEquals("von Neumann John, Smith, John and Black~Brown, Peter", a
      .format("John von Neumann and John Smith and Black Brown, Peter", formatString, null));
   
    // Four names
    assertEquals("von Neumann John, Smith, John, Vandekamp, Mary~Ann and Black~Brown, Peter", a
      .format("von Neumann, John and Smith, John and Vandekamp, Mary Ann and Black Brown, Peter", formatString, null));
View Full Code Here


    assertEquals("von Neumann John, Smith, John and Black~Brown, Peter", a
      .format("John von Neumann and John Smith and Black Brown, Peter", formatString, null));
   
    // Four names
    assertEquals("von Neumann John, Smith, John, Vandekamp, Mary~Ann and Black~Brown, Peter", a
      .format("von Neumann, John and Smith, John and Vandekamp, Mary Ann and Black Brown, Peter", formatString, null));
  }
 
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.