| 构造器和说明 |
|---|
ObjectSerializeProducer(Object object) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
contentLength() |
long |
lastModified() |
int |
produce(File file) |
static Object |
readObject(InputStream instream) |
static Object |
readObjectFile(String filepath) |
static byte[] |
serialize_data() |
static byte[] |
serialize(Object object) |
InputStream |
stream() |
static void |
unserialize_data(byte[] bytes) |
static Object |
unserialize(byte[] data) |
static void |
writeObject(OutputStream outstream,
Object object) |
static void |
writeObjectFile(String filepath,
Object object) |
public ObjectSerializeProducer(Object object)
public long contentLength()
throws IOException
contentLength 在接口中 IProducerIOExceptionpublic long lastModified()
throws IOException
lastModified 在接口中 IProducerIOExceptionpublic InputStream stream() throws IOException
stream 在接口中 IProducerIOExceptionpublic int produce(File file) throws IOException
produce 在接口中 IProducerIOExceptionpublic static byte[] serialize(Object object)
public static Object unserialize(byte[] data)
public static byte[] serialize_data()
public static void unserialize_data(byte[] bytes)
public static Object readObject(InputStream instream)
public static void writeObject(OutputStream outstream, Object object)
Copyright (c) 2002-2020 Luther Inc.