@Test public void testSkipDictionary() throws Exception { setContents("70" + "41" + "03" + "666F6F" + "21" + "7B" + "41" + "03" + "626172" + "00" + "80"); r.skipDictionary(); assertTrue(r.eof()); }
@Override public void skipDictionary() throws IOException { if (!hasDictionary()) throw new FormatException(); hasLookahead = false; while (!hasDictionaryEnd()) { skipString(); skipObject(); } hasLookahead = false; }
BdfReaderImpl implements BdfReader { @Override public void skipDictionary() throws IOException { if (!hasDictionary()) throw new FormatException(); hasLookahead = false; while (!hasDictionaryEnd()) { skipString(); skipObject(); } hasLookahead = false; } }
BdfReaderImpl implements BdfReader { @Override public void skipDictionary() throws IOException { if (!hasDictionary()) throw new FormatException(); hasLookahead = false; while (!hasDictionaryEnd()) { skipString(); skipObject(); } hasLookahead = false; } BdfReaderImpl(InputStream in, int nestedLimit, int maxBufferSize); }
BdfReaderImpl implements BdfReader { @Override public void skipDictionary() throws IOException { if (!hasDictionary()) throw new FormatException(); hasLookahead = false; while (!hasDictionaryEnd()) { skipString(); skipObject(); } hasLookahead = false; } BdfReaderImpl(InputStream in, int nestedLimit, int maxBufferSize); @Override boolean eof(); @Override void close(); @Override boolean hasNull(); @Override void readNull(); @Override void skipNull(); @Override boolean hasBoolean(); @Override boolean readBoolean(); @Override void skipBoolean(); @Override boolean hasLong(); @Override long readLong(); @Override void skipLong(); @Override boolean hasDouble(); @Override double readDouble(); @Override void skipDouble(); @Override boolean hasString(); @Override String readString(); @Override void skipString(); @Override boolean hasRaw(); @Override byte[] readRaw(); @Override void skipRaw(); @Override boolean hasList(); @Override BdfList readList(); @Override void readListStart(); @Override boolean hasListEnd(); @Override void readListEnd(); @Override void skipList(); @Override boolean hasDictionary(); @Override BdfDictionary readDictionary(); @Override void readDictionaryStart(); @Override boolean hasDictionaryEnd(); @Override void readDictionaryEnd(); @Override void skipDictionary(); }
BdfReaderImpl implements BdfReader { @Override public void skipDictionary() throws IOException { if (!hasDictionary()) throw new FormatException(); hasLookahead = false; while (!hasDictionaryEnd()) { skipString(); skipObject(); } hasLookahead = false; } BdfReaderImpl(InputStream in, int nestedLimit, int maxBufferSize); @Override boolean eof(); @Override void close(); @Override boolean hasNull(); @Override void readNull(); @Override void skipNull(); @Override boolean hasBoolean(); @Override boolean readBoolean(); @Override void skipBoolean(); @Override boolean hasLong(); @Override long readLong(); @Override void skipLong(); @Override boolean hasDouble(); @Override double readDouble(); @Override void skipDouble(); @Override boolean hasString(); @Override String readString(); @Override void skipString(); @Override boolean hasRaw(); @Override byte[] readRaw(); @Override void skipRaw(); @Override boolean hasList(); @Override BdfList readList(); @Override void readListStart(); @Override boolean hasListEnd(); @Override void readListEnd(); @Override void skipList(); @Override boolean hasDictionary(); @Override BdfDictionary readDictionary(); @Override void readDictionaryStart(); @Override boolean hasDictionaryEnd(); @Override void readDictionaryEnd(); @Override void skipDictionary();  }