47 lines
929 B
Java
47 lines
929 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* javax.baja.nre.util.TextUtil
|
|
*/
|
|
package javax.baja.naming;
|
|
|
|
import javax.baja.naming.OrdQuery;
|
|
import javax.baja.naming.OrdQueryList;
|
|
import javax.baja.nre.util.TextUtil;
|
|
|
|
public class BasicQuery
|
|
implements OrdQuery {
|
|
protected String scheme;
|
|
protected String body;
|
|
|
|
public String getScheme() {
|
|
return this.scheme;
|
|
}
|
|
|
|
public String getBody() {
|
|
return this.body;
|
|
}
|
|
|
|
public boolean isHost() {
|
|
return false;
|
|
}
|
|
|
|
public boolean isSession() {
|
|
return false;
|
|
}
|
|
|
|
public void normalize(OrdQueryList ordQueryList, int n) {
|
|
}
|
|
|
|
public String toString() {
|
|
return this.scheme + ':' + this.body;
|
|
}
|
|
|
|
public BasicQuery(String string, String string2) {
|
|
this.scheme = TextUtil.toLowerCase((String)string).trim();
|
|
this.body = string2.trim();
|
|
}
|
|
}
|
|
|