org.mentalog.config.ByteArrayConfigParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of menta-log Show documentation
Show all versions of menta-log Show documentation
A log library that embraces the kiss principle.
package org.mentalog.config;
public class ByteArrayConfigParam extends ConfigParam {
public ByteArrayConfigParam(String name, byte[] defValue) {
super(name, defValue);
}
@Override
protected byte[] parseString(String s) {
return s.getBytes();
}
public byte[] bytes() {
return value();
}
}