com.sentilla.platform.tmote
Class FileMapEntry
java.lang.Object
com.sentilla.platform.tmote.Action
com.sentilla.platform.tmote.FlashFile
com.sentilla.platform.tmote.FileMapEntry
- All Implemented Interfaces:
- com.sentilla.io.DataInput, com.sentilla.io.DataOutput, com.sentilla.io.DataRandomAccess, com.sentilla.io.Input, com.sentilla.io.InputStream, com.sentilla.io.ObjectInput, com.sentilla.io.ObjectOutput, com.sentilla.io.ObjectRandomAccess, com.sentilla.io.Output, com.sentilla.io.RandomAccessFile, Action
public class FileMapEntry
- extends FlashFile
Provides the FlashFile API in a segment of another FlashFile
Methods inherited from class com.sentilla.platform.tmote.FlashFile |
available, close, create, create, flush, getName, open, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUnsignedByte, readUTF, remove, setOverwriteMode, write, write, writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
getOffset
public int getOffset()
- Specified by:
getOffset
in interface com.sentilla.io.DataRandomAccess
- Overrides:
getOffset
in class FlashFile
length
public int length()
- Specified by:
length
in interface com.sentilla.io.DataRandomAccess
- Overrides:
length
in class FlashFile
writeObject
public void writeObject(Object obj)
- Specified by:
writeObject
in interface com.sentilla.io.ObjectOutput
- Overrides:
writeObject
in class FlashFile
readObject
public Object readObject()
- Specified by:
readObject
in interface com.sentilla.io.ObjectInput
- Overrides:
readObject
in class FlashFile
read
public int read(byte[] b,
int offset,
int length)
throws com.sentilla.io.IORuntimeException
- Specified by:
read
in interface com.sentilla.io.Input
- Overrides:
read
in class FlashFile
- Throws:
com.sentilla.io.IORuntimeException
write
public void write(byte[] b,
int offset,
int length)
throws com.sentilla.io.IORuntimeException
- Specified by:
write
in interface com.sentilla.io.Output
- Overrides:
write
in class FlashFile
- Throws:
com.sentilla.io.IORuntimeException
skip
public void skip(int n)
throws com.sentilla.io.IORuntimeException
- Specified by:
skip
in interface com.sentilla.io.Input
- Overrides:
skip
in class FlashFile
- Throws:
com.sentilla.io.IORuntimeException
seek
public void seek(int offset)
- Specified by:
seek
in interface com.sentilla.io.DataRandomAccess
- Overrides:
seek
in class FlashFile
Copyright © 2007 Sentilla Corporation. All Rights Reserved.