org.mmbase.datatypes.processors
Class FormatFileSize
java.lang.Object
org.mmbase.datatypes.processors.FormatFileSize
- All Implemented Interfaces:
- Processor, Serializable
- public class FormatFileSize
- extends Object
- implements Processor
A processor that gets a number as a file-size, that is, rounded with kbytes and Mb's and so on.
- Since:
- MMBase-1.8
- Version:
- $Id: FormatFileSize.java,v 1.1 2005/12/07 19:44:49 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
FormatFileSize
public FormatFileSize()
process
public final Object process(Node node,
Field field,
Object value)
- Specified by:
process in interface Processor
- Parameters:
node - The node object for which the field must be transformed.field - The field which is set.value - The (new) field value.
toString
public String toString()
MMBase build 1.8.1.20060716