Here you can find the source of ellipsify(String message)
Parameter | Description |
---|---|
message | a parameter |
public static String ellipsify(String message)
//package com.java2s; /**//from ww w .j a v a 2s . c o m * Aptana Studio * Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions). * Please see the license.html included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ public class Main { /** * Adds an ellipsis to the end of a string, generally indicating that this string leads to another choice (like a * dialog) * * @param message * @return The ellipsif-ied string */ public static String ellipsify(String message) { return message == null ? null : message + "..."; //$NON-NLS-1$ } }