FileDocCategorySizeDatePackage
ResourceItem.javaAPI DocAndroid 1.5 API1450Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.common.resources

ResourceItem

public class ResourceItem extends Object implements Comparable
Base class representing a Resource Item, as returned by a {@link IResourceRepository}.

Fields Summary
private final String
mName
Constructors Summary
public ResourceItem(String name)
Constructs a new ResourceItem

param
name the name of the resource as it appears in the XML and R.java files.

        mName = name;
    
Methods Summary
public intcompareTo(com.android.ide.eclipse.common.resources.ResourceItem other)
Compares the {@link ResourceItem} to another.

param
other the ResourceItem to be compared to.

        return mName.compareTo(other.mName);
    
public final java.lang.StringgetName()
Returns the name of the resource item.

        return mName;