|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mymedialite.io.RelationData
public class RelationData
Class that offers static methods to read (binary) relation over entities into SparseBooleanMatrix objects.
Method Summary | |
---|---|
static SparseBooleanMatrix |
read(java.io.BufferedReader reader,
IEntityMapping mapping)
Read binary relation data from file. |
static SparseBooleanMatrix |
read(java.lang.String filename,
IEntityMapping mapping)
Read binary attribute data from file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SparseBooleanMatrix read(java.lang.String filename, IEntityMapping mapping) throws java.io.IOException
filename
- the name of the file to be read frommapping
- the mapping object for the given entity type
java.io.IOException
public static SparseBooleanMatrix read(java.io.BufferedReader reader, IEntityMapping mapping) throws java.io.IOException
reader
- a StreamReader to be read frommapping
- the mapping object for the given entity type
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |