Class RecordsFileImpl.RecordTypeImpl
java.lang.Object
org.gvsig.fmap.dal.store.simplereader.virtualrows.RecordsFileImpl.RecordTypeImpl
- All Implemented Interfaces:
RecordsFile.RecordType
- Enclosing class:
RecordsFileImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int type, int size) static RecordsFile.RecordTypefrom(byte[] bytes) static RecordsFile.RecordTypefrom(ByteBuffer bytes) intintgetFieldOffset(int n) intgetFieldSize(int n) intgetFieldType(int n) intgetSize()byte[]toBytes()
-
Constructor Details
-
RecordTypeImpl
public RecordTypeImpl()
-
-
Method Details
-
add
public void add(int type, int size) -
getSize
public int getSize()- Specified by:
getSizein interfaceRecordsFile.RecordType
-
getFieldCount
public int getFieldCount()- Specified by:
getFieldCountin interfaceRecordsFile.RecordType
-
getFieldType
public int getFieldType(int n) - Specified by:
getFieldTypein interfaceRecordsFile.RecordType
-
getFieldSize
public int getFieldSize(int n) - Specified by:
getFieldSizein interfaceRecordsFile.RecordType
-
getFieldOffset
public int getFieldOffset(int n) - Specified by:
getFieldOffsetin interfaceRecordsFile.RecordType
-
createRecord
- Specified by:
createRecordin interfaceRecordsFile.RecordType
-
toBytes
public byte[] toBytes()- Specified by:
toBytesin interfaceRecordsFile.RecordType
-
from
-
from
-