117118119120121122123124125126127
* * @throws JitcaException * if an error occurs. */ public iPodImpl getIPod() throws JitcaException { iPodCollectionImpl iPods = this.getIPods(); if (iPods == null || iPods.size() > 1) return null; else return iPods.getFirst(); }
131132133134135136137138139140141
* * @throws JitcaException * if an error occurs. */ public iPodCollectionImpl getIPods() throws JitcaException { iPodCollectionImpl iPods = new iPodCollectionImpl(this.iTunes, this.iTunes.getSources()); if (iPods.size() == 0) { return null; } else return iPods; }