SunSPOT host API V3.0


com.sun.spot.flashmanagement
Interface INorFlashSectorFactory

All Known Implementing Classes:
HostNorFlashSectorFactory

public interface INorFlashSectorFactory

INorFlashSectorFactory creates instances of IAddressableNorFlashSector. It is used within the implementation of the FlashFile system and should not normally be referred to from outside the com.sun.spot.flashmanagement package.


Method Summary
 IAddressableNorFlashSector create(int sectorNumber, int purpose)
          Create an IAddressableNorFlashSector
 

Method Detail

create

IAddressableNorFlashSector create(int sectorNumber,
                                  int purpose)
Create an IAddressableNorFlashSector

Parameters:
sectorNumber - The unique number to associate with the new sector
purpose - The intended use of the new sector. Normally one of INorFlashSector.RMS_PURPOSED, INorFlashSector.SYSTEM_PURPOSED or INorFlashSector.USER_PURPOSED
Returns:
the new IAddressableNorFlashSector

SunSPOT host API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.