我在以下行的代码中收到 IOException
ObjectInputStream stream = new ObjectInputStream(new FileInputStream("D:\\K.jpg"));
异常详细信息是:
java.io.StreamCorruptedException: invalid stream header: FFD8FFE0
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
请帮我。