Class StringToBytesConverter

java.lang.Object
io.leandev.appfuse.web.converter.StringToBytesConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,byte[]>

public class StringToBytesConverter extends Object implements org.springframework.core.convert.converter.Converter<String,byte[]>
  • Constructor Details

    • StringToBytesConverter

      public StringToBytesConverter()
  • Method Details

    • convert

      public byte[] convert(@NonNull String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,byte[]>