/** * 根据ID结构判断点类型 * * @param entryId * @return */ public PointType getPointType(String entryId) { PointType def = PointType.Unknow; if (sacred.alliance.magic.util.Util.isEmpty(entryId) || entryId.indexOf(Cat.underline) <= 0) { return def; } int type = Integer.parseInt(entryId.split(Cat.underline)[0]); return PointType.get(type); }