added getParams method to Params

This commit is contained in:
Stephan Richter
2021-06-17 12:17:17 +02:00
parent ab8a915380
commit e46217234c
2 changed files with 7 additions and 1 deletions

View File

@@ -28,4 +28,10 @@ public class Params extends HashMap<String, Object> {
return null;
}
}
public Params getParams(Object key) {
Object v = super.get(key);
if (v instanceof Params) return (Params) v;
return null;
}
}