Class MetadataStoreHelper.MetaDataReader

  • Enclosing class:
    MetadataStoreHelper

    public static class MetadataStoreHelper.MetaDataReader
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> stringTable  
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaDataReader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void addToStringTable​(java.lang.String s, int index)  
      boolean isVersionSupported​(java.io.DataInputStream in)  
      java.lang.String readIndexedString​(java.io.DataInputStream in)  
      java.lang.String readString​(java.io.DataInputStream in)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • stringTable

        private final java.util.List<java.lang.String> stringTable
    • Constructor Detail

      • MetaDataReader

        public MetaDataReader()
    • Method Detail

      • isVersionSupported

        public boolean isVersionSupported​(java.io.DataInputStream in)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • readIndexedString

        public java.lang.String readIndexedString​(java.io.DataInputStream in)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readString

        public java.lang.String readString​(java.io.DataInputStream in)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • addToStringTable

        private void addToStringTable​(java.lang.String s,
                                      int index)