@Test(expected = IOException.class) public void testWrongClassInput() throws IOException, ClassNotFoundException { this.fstObjectInput = new FstObjectInput(new ByteArrayInputStream("{animal: 'cat'}".getBytes())); fstObjectInput.readObject(FullAddress.class); }
@Override public Object readObject() throws IOException, ClassNotFoundException { return input.readObject(); }
FstObjectInput implements ObjectInput { @Override public Object readObject() throws IOException, ClassNotFoundException { return input.readObject(); } }
FstObjectInput implements ObjectInput { @Override public Object readObject() throws IOException, ClassNotFoundException { return input.readObject(); } FstObjectInput(InputStream inputStream); }
FstObjectInput implements ObjectInput { @Override public Object readObject() throws IOException, ClassNotFoundException { return input.readObject(); } FstObjectInput(InputStream inputStream); @Override boolean readBool(); @Override byte readByte(); @Override short readShort(); @Override int readInt(); @Override long readLong(); @Override float readFloat(); @Override double readDouble(); @Override byte[] readBytes(); @Override String readUTF(); @Override Object readObject(); @Override @SuppressWarnings("unchecked") T readObject(Class<T> clazz); @Override @SuppressWarnings("unchecked") T readObject(Class<T> clazz, Type type); }
FstObjectInput implements ObjectInput { @Override public Object readObject() throws IOException, ClassNotFoundException { return input.readObject(); } FstObjectInput(InputStream inputStream); @Override boolean readBool(); @Override byte readByte(); @Override short readShort(); @Override int readInt(); @Override long readLong(); @Override float readFloat(); @Override double readDouble(); @Override byte[] readBytes(); @Override String readUTF(); @Override Object readObject(); @Override @SuppressWarnings("unchecked") T readObject(Class<T> clazz); @Override @SuppressWarnings("unchecked") T readObject(Class<T> clazz, Type type);  }