FileDocCategorySizeDatePackage
IFileWrapper.javaAPI DocAndroid 1.5 API1775Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.editors.resources.manager.files

IFileWrapper

public class IFileWrapper extends Object implements IAbstractFile
An implementation of {@link IAbstractFile} on top of an {@link IFile} object.

Fields Summary
private org.eclipse.core.resources.IFile
mFile
Constructors Summary
public IFileWrapper(org.eclipse.core.resources.IFile file)

        mFile = file;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if (obj instanceof IFileWrapper) {
            return mFile.equals(((IFileWrapper)obj).mFile);
        }
        
        if (obj instanceof IFile) {
            return mFile.equals(obj);
        }

        return super.equals(obj);
    
public java.io.InputStreamgetContents()

        return mFile.getContents();
    
public org.eclipse.core.resources.IFilegetIFile()

        return mFile;
    
public java.lang.StringgetName()

        return mFile.getName();
    
public java.lang.StringgetOsLocation()

        return mFile.getLocation().toOSString();
    
public inthashCode()

        return mFile.hashCode();