UtilComunicator

From OpenKM Documentation
Revision as of 09:19, 25 February 2011 by Jllort (talk | contribs)

Jump to: navigation, search

Read Methods

  • String formatSize(double size)
  • String createHeaderHTML(String imageURL, String caption)
  • String menuHTML(String imageUrl, String text)
  • String imageItemHTML(String imageUrl)
  • String getTextAsBoldHTML(String text, boolean mark)
  • String getUserAgent()

Example

// Call to formating some document size number ( gb, mb etc... ) 
UtilComunicator.formatSize(15);