entry = new FileEntry(mParentEntry, name, objectType, false /* isRoot */);
entry = new FileEntry(mParentEntry, name, objectType, false /* isRoot */);
/** * Returns the root element. * @return the {@link FileEntry} object representing the root element or * <code>null</code> if the device is invalid. */ public FileEntry getRoot() { if (mDevice != null) { if (mRoot == null) { mRoot = new FileEntry(null /* parent */, "" /* name */, TYPE_DIRECTORY, true /* isRoot */); } return mRoot; } return null; }
/** * Returns the root element. * @return the {@link FileEntry} object representing the root element or * <code>null</code> if the device is invalid. */ public FileEntry getRoot() { if (mDevice != null) { if (mRoot == null) { mRoot = new FileEntry(null /* parent */, "" /* name */, TYPE_DIRECTORY, true /* isRoot */); } return mRoot; } return null; }