mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-21 20:19:23 +01:00
WAdd barcodeValues
This commit is contained in:
parent
e1240db07b
commit
3fd04c7b21
1 changed files with 23 additions and 0 deletions
23
app/src/main/java/net/foucry/pilldroid/BarcodeValues.java
Normal file
23
app/src/main/java/net/foucry/pilldroid/BarcodeValues.java
Normal file
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue