|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.io.Base64Util
public class Base64Util
This class supports conversion to/from Base64-coded data. Used e.g. to encode the data (peak) part of mass spectra in an mzData file.
| Constructor Summary | |
|---|---|
Base64Util()
|
|
| Method Summary | |
|---|---|
static List<Double> |
decode(boolean doublePrecision,
boolean bigEndian,
boolean zLibCompression,
String dataString)
Decodes Base64 coded data String and returns an ArrayList |
static List<Double> |
decode(boolean doublePrecision,
boolean bigEndian,
String dataString)
Decodes Base64 coded data String and returns an ArrayList |
static String |
encode(boolean doublePrecision,
boolean bigEndian,
List<? extends Number> inDataList)
Encodes Base64 coded data list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Base64Util()
| Method Detail |
|---|
public static List<Double> decode(boolean doublePrecision,
boolean bigEndian,
String dataString)
doublePrecision - boolean flag, true if precision == "64".bigEndian - boolean flag indicating endian type.dataString - String with Base64 coded data.
public static List<Double> decode(boolean doublePrecision,
boolean bigEndian,
boolean zLibCompression,
String dataString)
doublePrecision - boolean flag, true if precision == "64".bigEndian - boolean flag indicating endian type.zLibCompression - boolean flag indicating zLib compression.dataString - String with Base64 coded data.
public static String encode(boolean doublePrecision,
boolean bigEndian,
List<? extends Number> inDataList)
doublePrecision - boolean flag, true if precision == "64".bigEndian - boolean flag indicating endian type.inDataList - ArrayList with double or integer (32bit) data values.
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||