Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions src/main/java/com/glencoesoftware/bioformats2raw/Axis.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
public class Axis {

private char type;
private String type;
private int length;
private int chunkSize;

Expand All @@ -24,6 +24,17 @@ public class Axis {
* @param chunk chunk length (expected to be in range [1, len])
*/
public Axis(char t, int len, int chunk) {
this(String.valueOf(t), len, chunk);
}

/**
* Create a new Axis.
*
* @param t axis type (e.g. 'X')
* @param len axis length
* @param chunk chunk length (expected to be in range [1, len])
*/
public Axis(String t, int len, int chunk) {
type = t;
length = len;
chunkSize = chunk;
Expand All @@ -32,7 +43,7 @@ public Axis(char t, int len, int chunk) {
/**
* @return axis type (e.g. 'X')
*/
public char getType() {
public String getType() {
return type;
}

Expand Down
Loading