|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttranscript.data.Transformer
public class Transformer
Transforms data from one format to another. Warning: it is more than meets the eye.
| Constructor Summary | |
|---|---|
Transformer()
|
|
| Method Summary | |
|---|---|
static TransformedEntry[] |
tidyData(TransformedEntry[] data)
This tidies up the data by doing a few things: 1. |
static TransformedEntry[] |
transform(Entry[] entries)
Takes an array of Entry objects and transforms it so that each student takes up one line. |
static Entry[] |
transform(TransformedEntry[] data)
Converts an array of TransformedEntry objects and turns them into normal Entry objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Transformer()
| Method Detail |
|---|
public static TransformedEntry[] transform(Entry[] entries)
entries -
public static Entry[] transform(TransformedEntry[] data)
data - the TransformedEntry array
public static TransformedEntry[] tidyData(TransformedEntry[] data)
data - the data to tidy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||