Package ome.metakit

Class MetakitTools


  • public class MetakitTools
    extends java.lang.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 java.lang.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 Detail

      • MetakitTools

        public MetakitTools()
    • Method Detail

      • readPString

        public static java.lang.String readPString​(loci.common.RandomAccessInputStream stream)
                                            throws java.io.IOException
        Read a Pascal-style string from the given RandomAccessInputStream.
        Throws:
        java.io.IOException
      • readBpInt

        public static int readBpInt​(loci.common.RandomAccessInputStream stream)
                             throws java.io.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:
        java.io.IOException