public class RenderTool extends Object
Constructor and Description |
---|
RenderTool()
Create a new renderer.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttachmentClass(String mimeType) |
String |
getHumanReadableFileSize(Long size)
Returns a human-readable version of the file size.
|
String |
getHumanReadableFileSize(Number size)
Returns a human-readable version of the file size.
|
public String getAttachmentClass(String mimeType)
public String getHumanReadableFileSize(Long size)
size
- The number of bytes.Copyright © 2019 Communote team. All rights reserved.