added methods to get and set skinpath and translated skinpath.

This commit is contained in:
hns 2002-05-14 16:33:24 +00:00
parent 72308434eb
commit 86cbedc1d6

View file

@ -61,7 +61,9 @@ public class ResponseTrans implements Externalizable {
private transient Stack buffers; private transient Stack buffers;
// the path used to resolve skin names // the path used to resolve skin names
public transient Object skinpath = null; private transient Object skinpath = null;
// the processed skinpath as array of Nodes or directory names
private transient Object[] translatedSkinpath = null;
static final long serialVersionUID = -8627370766119740844L; static final long serialVersionUID = -8627370766119740844L;
@ -296,6 +298,23 @@ public class ResponseTrans implements Externalizable {
return contentType; return contentType;
} }
public void setSkinpath (Object obj) {
this.skinpath = obj;
this.translatedSkinpath = null;
}
public Object getSkinpath () {
return skinpath;
}
public void setTranslatedSkinpath (Object[] arr) {
this.translatedSkinpath = arr;
}
public Object[] getTranslatedSkinpath () {
return translatedSkinpath;
}
public synchronized void setCookie (String key, String value) { public synchronized void setCookie (String key, String value) {
setCookie (key, value, -1); setCookie (key, value, -1);
} }