View Javadoc

1   /**
2    * LOGBack: the reliable, fast and flexible logging library for Java.
3    *
4    * Copyright (C) 1999-2006, QOS.ch
5    *
6    * This library is free software, you can redistribute it and/or
7    * modify it under the terms of the GNU Lesser General Public License as
8    * published by the Free Software Foundation.
9    */
10  package ch.qos.logback.classic.pattern;
11  
12  /**
13   * An interface used for abbreviating strings according to different policies.
14   * 
15   * @author Ceki Gulcu
16   */
17  public interface Abbreviator {
18  
19    public String abbreviate(String in);
20  }