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 transient RandomAccessInputStream in
protected Map map
protected Map streams
protected int column
protected int row
protected char c
public AmiraParameters(String path) throws FormatException
FormatException
public AmiraParameters(RandomAccessInputStream inputStream) throws FormatException, IOException
FormatException
IOException
protected void readFile(String path) throws FormatException
FormatException
protected void readFile(RandomAccessInputStream inputStream) throws FormatException, IOException
FormatException
IOException
protected void extractCoreMetaData() throws FormatException
FormatException
protected void syntaxError(String message) throws FormatException
FormatException
protected void readTopLevel() throws FormatException, IOException
FormatException
IOException
protected char readByte() throws IOException
IOException
protected void skipComment() throws IOException
IOException
protected void skipWhiteSpace() throws IOException
IOException
protected String readKey() throws IOException
IOException
protected Number readNumber() throws FormatException, IOException
FormatException
IOException
protected Integer[] readIntArray() throws FormatException, IOException
FormatException
IOException
protected Number[] readNumberArray() throws FormatException, IOException
FormatException
IOException
protected Integer[] readIntArray(int count) throws FormatException, IOException
FormatException
IOException
protected Double[] readDoubleArray(int count) throws FormatException, IOException
FormatException
IOException
protected String readQuotedString() throws FormatException, IOException
FormatException
IOException
protected Map readMap() throws FormatException, IOException
FormatException
IOException
public Map getMap()
public Map getStreams()
public static String toString(Map map, String indent) throws FormatException
FormatException
public static String entryToString(Object object, String indent) throws FormatException
FormatException
public static void main(String[] args)
Copyright © 2015 Open Microscopy Environment