public class AmiraParameters extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
ascii |
protected char |
c |
protected int |
column |
int |
depth |
int |
firstDataStream |
int |
height |
protected RandomAccessInputStream |
in |
boolean |
littleEndian |
protected Map |
map |
int |
nStreams |
protected int |
row |
String[] |
streamNames |
protected Map |
streams |
String[] |
streamTypes |
int |
width |
double |
x0 |
double |
x1 |
double |
y0 |
double |
y1 |
double |
z0 |
double |
z1 |
| Constructor and Description |
|---|
AmiraParameters(RandomAccessInputStream inputStream) |
AmiraParameters(String path) |
| Modifier and Type | Method and Description |
|---|---|
static String |
entryToString(Object object,
String indent) |
protected void |
extractCoreMetaData() |
Map |
getMap() |
Map |
getStreams() |
static void |
main(String[] args) |
protected char |
readByte() |
protected Double[] |
readDoubleArray(int count) |
protected void |
readFile(RandomAccessInputStream inputStream) |
protected void |
readFile(String path) |
protected Integer[] |
readIntArray() |
protected Integer[] |
readIntArray(int count) |
protected String |
readKey() |
protected Map |
readMap() |
protected Number |
readNumber() |
protected Number[] |
readNumberArray() |
protected String |
readQuotedString() |
protected void |
readTopLevel() |
protected void |
skipComment() |
protected void |
skipWhiteSpace() |
protected void |
syntaxError(String message) |
String |
toString() |
static String |
toString(Map map,
String indent) |
public int width
public int height
public int depth
public int firstDataStream
public double x0
public double y0
public double z0
public double x1
public double y1
public double z1
public boolean littleEndian
public boolean ascii
public int nStreams
public String[] streamNames
public String[] streamTypes
protected RandomAccessInputStream in
protected Map map
protected Map streams
protected int column
protected int row
protected char c
public AmiraParameters(String path) throws FormatException
FormatExceptionpublic AmiraParameters(RandomAccessInputStream inputStream) throws FormatException, IOException
FormatExceptionIOExceptionprotected void readFile(String path) throws FormatException
FormatExceptionprotected void readFile(RandomAccessInputStream inputStream) throws FormatException, IOException
FormatExceptionIOExceptionprotected void extractCoreMetaData()
throws FormatException
FormatExceptionprotected void syntaxError(String message) throws FormatException
FormatExceptionprotected void readTopLevel()
throws FormatException,
IOException
FormatExceptionIOExceptionprotected char readByte()
throws IOException
IOExceptionprotected void skipComment()
throws IOException
IOExceptionprotected void skipWhiteSpace()
throws IOException
IOExceptionprotected String readKey() throws IOException
IOExceptionprotected Number readNumber() throws FormatException, IOException
FormatExceptionIOExceptionprotected Integer[] readIntArray() throws FormatException, IOException
FormatExceptionIOExceptionprotected Number[] readNumberArray() throws FormatException, IOException
FormatExceptionIOExceptionprotected Integer[] readIntArray(int count) throws FormatException, IOException
FormatExceptionIOExceptionprotected Double[] readDoubleArray(int count) throws FormatException, IOException
FormatExceptionIOExceptionprotected String readQuotedString() throws FormatException, IOException
FormatExceptionIOExceptionprotected Map readMap() throws FormatException, IOException
FormatExceptionIOExceptionpublic Map getMap()
public Map getStreams()
public static String toString(Map map, String indent) throws FormatException
FormatExceptionpublic static String entryToString(Object object, String indent) throws FormatException
FormatExceptionpublic static void main(String[] args)
Copyright © 2014 Open Microscopy Environment