public class ByteSizeConverter
extends java.lang.Object
implements javax.faces.convert.Converter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONVERTER_ID
The standard converter id for this converter.
|
Constructor and Description |
---|
ByteSizeConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String value) |
java.lang.String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value) |
public static final java.lang.String CONVERTER_ID
The standard converter id for this converter.
public java.lang.Object getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String value)
getAsObject
in interface javax.faces.convert.Converter
Converter.getAsObject(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.String)
public java.lang.String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
getAsString
in interface javax.faces.convert.Converter
Converter.getAsString(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.