Add JNIKiwixString constructors (#256)

Add JNIKiwixString constructors
This commit is contained in:
Matthieu Gautier 2019-08-14 10:38:36 +02:00 committed by GitHub
commit d0f6fadda2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -22,4 +22,16 @@ package org.kiwix.kiwixlib;
public class JNIKiwixString public class JNIKiwixString
{ {
public String value; public String value;
public JNIKiwixString(String value) {
this.value = value;
}
public JNIKiwixString() {
this("");
}
public String getValue() {
return value;
}
} }