Android Open Source - iSiteProyect Item






From Project

Back to project page iSiteProyect.

License

The source code is released under:

Copyright (C) 2013 Plasty Grove <plasty.grove@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwar...

If you think the Android project iSiteProyect listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.iSiteProyect;
/*from   ww w  .jav a2s . c o m*/
public class Item implements Comparable<Item>{
  private String name;
  private String data;
  private String date;
  private String path;
  private String image;
  
  public Item(String n,String d, String dt, String p, String img)
  {
    name = n;
    data = d;
    date = dt;
    path = p; 
    image = img;
    
  }
  public String getName()
  {
    return name;
  }
  public String getData()
  {
    return data;
  }
  public String getDate()
  {
    return date;
  }
  public String getPath()
  {
    return path;
  }
  public String getImage() {
    return image;
  }
  
  public int compareTo(Item o) {
    if(this.name != null)
      return this.name.toLowerCase().compareTo(o.getName().toLowerCase()); 
    else 
      throw new IllegalArgumentException();
  }
}




Java Source Code List

com.iSiteProyect.ActivityHelper.java
com.iSiteProyect.FileArrayAdapter.java
com.iSiteProyect.FileChooser.java
com.iSiteProyect.Homescreen.java
com.iSiteProyect.Item.java
com.iSiteProyect.MainActivity.java
com.iSiteProyect.MyApplication.java
com.iSiteProyect.PreferencesActivity.java
com.iSiteProyect.Servicios.MiServicio.java
com.iSiteProyect.ll_Apuntamiento.java
com.iSiteProyect.ll_Inicio_Login.java