com.android.ide.common.res2
Class PreprocessDataItem

java.lang.Object
  extended by com.android.ide.common.res2.PreprocessDataItem

public class PreprocessDataItem
extends java.lang.Object

DataItem for preprocessing resources.


Method Summary
 boolean equals(java.lang.Object o)
           
 java.io.File getFileToUse()
           
 java.lang.String getKey()
          Returns a key for this item.
 java.lang.String getName()
          Returns the name of the item.
 F getSource()
          Returns the DataFile the item is coming from.
protected  int getStatus()
           
 int hashCode()
           
 void setSource(F sourceFile)
          Sets the DataFile
protected  void wasTouched()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFileToUse

@NonNull
public java.io.File getFileToUse()

getName

@NonNull
public java.lang.String getName()
Returns the name of the item.

Returns:
the name.

getSource

@Nullable
public F getSource()
Returns the DataFile the item is coming from. Can be null.

Returns:
the data file.

setSource

public void setSource(F sourceFile)
Sets the DataFile

Parameters:
sourceFile - the DataFile

getStatus

protected int getStatus()

getKey

public java.lang.String getKey()
Returns a key for this item. They key uniquely identifies this item. This is the name.

Returns:
the key for this item.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

wasTouched

protected void wasTouched()