Package barrysoft.twinkle

Examples of barrysoft.twinkle.UpdateVersion


  }
 
  protected UpdateVersion convertSparkleEntry(SyndEntry entry)
    throws UpdateException
  {
    UpdateVersion op = new UpdateVersion();
   
    SparkleEntry spk = (SparkleEntry)entry.getModule(SparkleModule.URI);
   
    op.setName(entry.getTitle());
    op.setDate(entry.getPublishedDate());
    op.setMinimumSystemVersion(spk.getMinimumSystemVersion());
   
    if (entry.getDescription() != null)
      op.setDescription(entry.getDescription().getValue());
   
    try {
      op.setReleaseNotesLink(new URL(spk.getReleaseNotesLink()));
    } catch (MalformedURLException e) {
      throw new UpdateException("Can't parse release note URL", e);
    }
   
    convertSparkleEnclosures(entry, op);
View Full Code Here


    {
      GUIEvent<UpdaterEventType> ue = (GUIEvent<UpdaterEventType>)event;
     
      switch(ue.getType()) {
      case NEW_VERSION_FOUND:       
        UpdateVersion version = ue.getDataItem(0, UpdateVersion.class);
        UpdateRequest source = ue.getDataItem(1, UpdateRequest.class);
       
        setUpdateVersion(version, source);
        break;
       
View Full Code Here

    if (event instanceof GUIEvent)
    {
      GUIEvent<UpdaterEventType> ue = (GUIEvent<UpdaterEventType>)event;
     
      UpdateRequest source;
      UpdateVersion version;
     
      switch(ue.getType()) {
      case CHECKING_UPDATES:
        source = ue.getDataItem(0, UpdateRequest.class);
        setUpdateRequest(source);
View Full Code Here

TOP

Related Classes of barrysoft.twinkle.UpdateVersion

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.