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
     
  • Method Summary

    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MetakitTools

      public MetakitTools()
  • Method Details

    • 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