Class MemoryIntPropertyEditor

  • All Implemented Interfaces:
    PropertyEditor

    public class MemoryIntPropertyEditor
    extends PropertyEditorSupport
    Used by xbean to set integers.

    Important: Do not use this for other purposes than xbean, as property editors are not thread safe, and they are slow to use.

    Converts string values like "20 Mb", "1024kb", and "1g" to int values in bytes.