|
JMatIO 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jmatio.io.MatFileHeader
public class MatFileHeader
MAT-file header Level 5 MAT-files begin with a 128-byte header made up of a 124 byte text field and two, 16-bit flag fields
| Constructor Summary | |
|---|---|
MatFileHeader(java.lang.String description,
int version,
byte[] endianIndicator)
New MAT-file header |
|
| Method Summary | |
|---|---|
static MatFileHeader |
createHeader()
A factory. |
java.lang.String |
getDescription()
Gets descriptive text |
byte[] |
getEndianIndicator()
Gets endian indicator. |
int |
getVersion()
When creating a MAT-file, set version to 0x0100 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MatFileHeader(java.lang.String description,
int version,
byte[] endianIndicator)
description - - descriptive text (no longer than 116 characters)version - - by default is set to 0x0100endianIndicator - - byte array size of 2 indicating byte-swapping requirement| Method Detail |
|---|
public java.lang.String getDescription()
public byte[] getEndianIndicator()
public int getVersion()
public static MatFileHeader createHeader()
MatFileHeader instance with default header values:
MatFileHeader instancepublic java.lang.String toString()
toString in class java.lang.Object
|
JMatIO 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||