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
FormatExceptionpublic AmiraParameters(loci.common.RandomAccessInputStream inputStream)
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected void readFile(java.lang.String path)
throws FormatException
FormatExceptionprotected void readFile(loci.common.RandomAccessInputStream inputStream)
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected void extractCoreMetaData()
throws FormatException
FormatExceptionprotected void syntaxError(java.lang.String message)
throws FormatException
FormatExceptionprotected void readTopLevel()
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected char readByte()
throws java.io.IOException
java.io.IOExceptionprotected void skipComment()
throws java.io.IOException
java.io.IOExceptionprotected void skipWhiteSpace()
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readKey()
throws java.io.IOException
java.io.IOExceptionprotected java.lang.Number readNumber()
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected java.lang.Integer[] readIntArray()
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected java.lang.Number[] readNumberArray()
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected java.lang.Integer[] readIntArray(int count)
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected java.lang.Double[] readDoubleArray(int count)
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected java.lang.String readQuotedString()
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionprotected java.util.Map readMap()
throws FormatException,
java.io.IOException
FormatExceptionjava.io.IOExceptionpublic java.util.Map getMap()
public java.util.Map getStreams()
public java.lang.String toString()
toString in class java.lang.Objectpublic static java.lang.String toString(java.util.Map map,
java.lang.String indent)
throws FormatException
FormatExceptionpublic static java.lang.String entryToString(java.lang.Object object,
java.lang.String indent)
throws FormatException
FormatExceptionpublic static void main(java.lang.String[] args)
Copyright © 2019 Open Microscopy Environment