Package de.xima.fc.gui.common.converter
Class FileSizeConverter
- java.lang.Object
-
- de.xima.fc.gui.common.converter.FileSizeConverter
-
- All Implemented Interfaces:
Serializable
,javax.faces.convert.Converter<Object>
public class FileSizeConverter extends Object implements javax.faces.convert.Converter<Object>, Serializable
Converter between a file size in bytes and a human readable representation, such as5.3 MB
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileSizeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
String
getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
-