Difference between revisions of "UtilComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 3: Line 3:
 
* String createHeaderHTML(String imageURL, String caption)
 
* String createHeaderHTML(String imageURL, String caption)
 
* String menuHTML(String imageUrl, String text)
 
* String menuHTML(String imageUrl, String text)
 +
* String imageItemHTML(String imageUrl)
 
* String getTextAsBoldHTML(String text, boolean mark)
 
* String getTextAsBoldHTML(String text, boolean mark)
 
* String getUserAgent()
 
* String getUserAgent()

Revision as of 09:19, 25 February 2011

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);