Package ome.metakit
Class MetakitTools
- java.lang.Object
-
- ome.metakit.MetakitTools
-
public class MetakitTools extends Object
Utility methods for working with Metakit database files.
-
-
Constructor Summary
Constructors Constructor Description MetakitTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
readBpInt(loci.common.RandomAccessInputStream stream)
Read a byte-packed integer from the given RandomAccessInputStream.static String
readPString(loci.common.RandomAccessInputStream stream)
Read a Pascal-style string from the given RandomAccessInputStream.
-
-
-
Method Detail
-
readPString
public static String readPString(loci.common.RandomAccessInputStream stream) throws IOException
Read a Pascal-style string from the given RandomAccessInputStream.- Throws:
IOException
-
readBpInt
public static int readBpInt(loci.common.RandomAccessInputStream stream) throws IOException
Read a byte-packed integer from the given RandomAccessInputStream. See http://equi4.com/metakit/metakit-ff.html#formatgrammar for a description of byte-packed integers.- Throws:
IOException
-
-