* @return parsed dotted name as an object
*/
private ParsedDottedName parseDottedName(String dottedString, String command)
throws MalformedNameException {
ArrayList tokenList = new ArrayList();
Name dottedName = new Name(dottedString);
int nTokens = dottedName.getNumParts();
if (nTokens < 1) {
String msg = localStrings.getString( "admin.monitor.name_does_not_contain_any_tokens", dottedString );
throw new MalformedNameException( msg );
}
for (int j = 0; j < nTokens; j++) {
tokenList.add(dottedName.getNamePart(j).toString());
}
return parseTokens(tokenList, command, dottedString);
}