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