Package com.jitcaforwin.extended.api

Examples of com.jitcaforwin.extended.api.EQPreset


   * @param eqName Name of the EQPreset.
   * @return The specified EQPreset. NULL, if there is no existing EQPreset with the specified name.
   * @throws JitcaException if an error occurs.
   */
  public EQPreset getEQPreset(String eqName) {
    EQPreset eqPreset = this.eqPresets.get(eqName);
    if (eqPreset == null){
      eqPreset = this.loadEQPresetFromiTunes(eqName);
    }
    this.addEQPreset(eqPreset);
    return eqPreset;
View Full Code Here


   */
  private EQPreset loadEQPresetFromiTunes(String eqName){
    IITEQPresetCollection itEQPresetCollection = this.iTunes.getEQPresets();
    IITEQPreset itEQPreset = itEQPresetCollection.itemByName(eqName);
    if (itEQPreset == null) return null;
    EQPreset eqPreset = new EQPresetImpl(itEQPreset);
    this.addEQPreset(eqPreset);
    return eqPreset;
  }
View Full Code Here

   * @return The new EQPreset.
   * @throws JitcaException if an error occurs.
   */
  public EQPreset createEQPreset(String eqName) throws JitcaException{
    IITEQPreset itEQPreset = this.iTunes.createEQPreset(eqName);
    EQPreset eqPreset = new EQPresetImpl(itEQPreset);
    this.addEQPreset(eqPreset);
    return eqPreset;
  }
View Full Code Here

   * @param eqName Name of the EQPreset.
   * @return The specified EQPreset. NULL, if there is no existing EQPreset with the specified name.
   * @throws JitcaException if an error occurs.
   */
  public EQPreset getEQPreset(String eqName) {
    EQPreset eqPreset = this.eqPresets.get(eqName);
    if (eqPreset == null){
      eqPreset = this.loadEQPresetFromiTunes(eqName);
    }
    this.addEQPreset(eqPreset);
    return eqPreset;
View Full Code Here

   */
  private EQPreset loadEQPresetFromiTunes(String eqName){
    IITEQPresetCollection itEQPresetCollection = this.iTunes.getEQPresets();
    IITEQPreset itEQPreset = itEQPresetCollection.itemByName(eqName);
    if (itEQPreset == null) return null;
    EQPreset eqPreset = new EQPresetImpl(itEQPreset);
    this.addEQPreset(eqPreset);
    return eqPreset;
  }
View Full Code Here

   * @return The new EQPreset.
   * @throws JitcaException if an error occurs.
   */
  public EQPreset createEQPreset(String eqName) throws JitcaException{
    IITEQPreset itEQPreset = this.iTunes.createEQPreset(eqName);
    EQPreset eqPreset = new EQPresetImpl(itEQPreset);
    this.addEQPreset(eqPreset);
    return eqPreset;
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.extended.api.EQPreset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.