|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjpview.io.PTMIO
public abstract class PTMIO
Static PTM Reader factory
| Constructor Summary | |
|---|---|
PTMIO()
|
|
| Method Summary | |
|---|---|
static float |
cFinal(int cRaw,
int bias,
float scale)
Composes the raw coefficent value, the bias, and the scale to form a float representation of a coefficient |
static int |
cFinalInt(int cRaw,
int bias,
float scale)
Composes the raw coefficent value, the bias, and the scale into an integer representation of the coefficient |
static java.lang.String |
getLine(java.io.InputStream in)
Read a line of text. |
static PTMReader |
getPTMParser(java.io.InputStream in)
Returns a PTM reader suitable for the input stream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PTMIO()
| Method Detail |
|---|
public static float cFinal(int cRaw,
int bias,
float scale)
cRaw - the raw coefficient valuebias - the biasscale - the scale value
public static int cFinalInt(int cRaw,
int bias,
float scale)
cRaw - the raw coefficient valuebias - the bias valuescale - the scale value
public static PTMReader getPTMParser(java.io.InputStream in)
throws java.lang.Exception
in - the input stream
java.lang.Exception - if the input stream cannot be readpublic static java.lang.String getLine(java.io.InputStream in)
in - the input stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||