com.atlassian.theplugin.util
Class Util

java.lang.Object
  extended by com.atlassian.theplugin.util.Util

public final class Util
extends java.lang.Object


Field Summary
static java.lang.String HTML_NEW_LINE
           
 
Method Summary
static java.lang.String textToMultilineHtml(java.lang.String text)
          Transforms provided text into simple HTML equivalent (multiline, honoring whitespaces).
static com.atlassian.theplugin.commons.ServerType toolWindowPanelsToServerType(PluginToolWindow.ToolWindowPanels panel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTML_NEW_LINE

public static final java.lang.String HTML_NEW_LINE
See Also:
Constant Field Values
Method Detail

textToMultilineHtml

@Nullable
public static java.lang.String textToMultilineHtml(@Nullable
                                                            java.lang.String text)
Transforms provided text into simple HTML equivalent (multiline, honoring whitespaces).

Parameters:
text - plain text to tranform into HTML
Returns:
tranformed text or null if text was null

toolWindowPanelsToServerType

public static com.atlassian.theplugin.commons.ServerType toolWindowPanelsToServerType(PluginToolWindow.ToolWindowPanels panel)
                                                                               throws com.atlassian.theplugin.commons.exception.ThePluginException
Throws:
com.atlassian.theplugin.commons.exception.ThePluginException


Copyright © 2008-2009 Atlassian Pty Ltd. All Rights Reserved.