Index: libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
index 8bdb4e8d556e841f16e501ac71ef3742b35c1cb6..d7273597b67ebfdf5a8efb087f42d17201e72834 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterEngine.java |
@@ -157,6 +157,11 @@ public final class FilterEngine implements Disposable |
setPref(this.ptr, pref, value.ptr); |
} |
+ public String getHostFromURL(String url) |
+ { |
+ return getHostFromURL(this.ptr, url); |
+ } |
+ |
@Override |
public void dispose() |
{ |
@@ -225,5 +230,7 @@ public final class FilterEngine implements Disposable |
private final static native void setPref(long ptr, String pref, long valuePtr); |
+ private final static native String getHostFromURL(long ptr, String url); |
+ |
private final static native void dtor(long ptr); |
} |