All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.convert.ByteConverter Maven / Gradle / Ivy

The newest version!
package com.enonic.xp.convert;

final class ByteConverter
    extends NumberConverter
{
    ByteConverter()
    {
        super( Byte.class );
    }

    @Override
    protected Byte fromNumber( final Number value )
    {
        return value.byteValue();
    }

    @Override
    protected Byte parse( final String value )
    {
        return Byte.parseByte( value );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy