diff --git a/app/src/main/java/net/foucry/pilldroid/BarcodeValues.java b/app/src/main/java/net/foucry/pilldroid/BarcodeValues.java new file mode 100644 index 0000000..5c19af2 --- /dev/null +++ b/app/src/main/java/net/foucry/pilldroid/BarcodeValues.java @@ -0,0 +1,23 @@ +package net.foucry.pilldroid; + +public class BarcodeValues { + private final String mFormat; + private final String mContent; + + public BarcodeValues(String format, String content) { + mFormat = format; + mContent = content; + } + + public String format() { + return mFormat; + } + + public String content() { + return mContent; + } + + public boolean isEmpty() { + return mFormat == null && mContent == null; + } +}