public String[] getStringArrayEntry(int stringOffset, int numStrings){
    if(_ok && numStrings>0){
      String[] stringArray = new String[numStrings];
      int pos=stringOffset;
      for(int i=0;i<numStrings;i++){
        int length = 0;
        _data.position(pos);
        while(_data.get()!=0){
          length++;
        }
        ByteBuffer meta = ByteBuffer.allocate(length);
        meta.order(ByteOrder.LITTLE_ENDIAN);
        _data.position(pos);
        _data.get(meta.array(),0,length);
        stringArray[i] = decode(meta);
        pos += length+1;
      }
      return stringArray;
    }
    return null;
  }
Class for accessing meta-data (dat-files) used by FSA applications.

@author  <a href="mailto:boros@yahoo-inc.com">Peter Boros</a>
fsa/src/main/java/com/yahoo/fsa/MetaData.java