com.sun.spot.client.command
Class FlashSectorContents
java.lang.Object
com.sun.spot.client.command.FlashSectorContents
public class FlashSectorContents
- extends Object
FlashSectorContents is a helper object for ReadSectorCommand
. It encapsulates the byte array
of data from a flash sector and provides a helpful implementation of Object.toString()
.
FlashSectorContents
public FlashSectorContents(int sectorNumber,
byte[] contents)
- Normal constructor
- Parameters:
sectorNumber
- the number of the sector in the flash devicecontents
- the content of the sector
toString
public String toString()
- Overrides:
toString
in class Object
getContents
public byte[] getContents()
getSectorNumber
public int getSectorNumber()
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.