Difference between revisions of "UtilComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 10: Line 10:
 
* String getName(String path)
 
* String getName(String path)
 
* String mimeImageHTML(String mime)
 
* String mimeImageHTML(String mime)
 +
* String hSpace(String width)
 +
* String vSpace(String height)
  
 
== Example ==
 
== Example ==

Revision as of 15:49, 14 January 2013

Read Methods

  • String formatSize(double size)
  • String imageItemHTML(String imageUrl, String title, String align)
  • String createHeaderHTML(String imageURL, String caption)
  • String menuHTML(String imageUrl, String text)
  • String imageItemHTML(String imageUrl)
  • String getTextAsBoldHTML(String text, boolean mark)
  • String getUserAgent()
  • String getParent(String path)
  • String getName(String path)
  • String mimeImageHTML(String mime)
  • String hSpace(String width)
  • String vSpace(String height)

Example

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