UnixPrintServiceLookup.BSD_LPD_NG) {
queued = results[0];
} else {
queued = results[3].trim();
if (queued.startsWith("no")) {
return new QueuedJobCount(0);
} else {
queued = queued.substring(0, queued.indexOf(' '));
}
}
try {
qlen = Integer.parseInt(queued);
} catch (NumberFormatException e) {
}
}
return new QueuedJobCount(qlen);
}