public class ProfilerFileContent extends MychainObject
| 构造器和说明 |
|---|
ProfilerFileContent() |
ProfilerFileContent(String filename,
boolean fileExists,
byte[] fileContents,
String format,
BigInteger fileSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
byte[] |
getFileContents() |
String |
getFilename() |
BigInteger |
getFileSize() |
String |
getFormat() |
boolean |
isFileExists() |
void |
setFileContents(byte[] fileContents) |
void |
setFileExists(boolean fileExists) |
void |
setFilename(String filename) |
void |
setFileSize(BigInteger fileSize) |
void |
setFormat(String format) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic ProfilerFileContent()
public ProfilerFileContent(String filename, boolean fileExists, byte[] fileContents, String format, BigInteger fileSize)
public String getFilename()
public void setFilename(String filename)
public boolean isFileExists()
public void setFileExists(boolean fileExists)
public byte[] getFileContents()
public void setFileContents(byte[] fileContents)
public String getFormat()
public void setFormat(String format)
public BigInteger getFileSize()
public void setFileSize(BigInteger fileSize)
public byte[] toRlp()
toRlp 在类中 MychainObjectpublic void fromRlp(RlpList list)
fromRlp 在类中 MychainObjectlist - the rlp bytespublic void toJson(com.alibaba.fastjson.JSONObject jsonObject)
toJson 在类中 MychainObjectjsonObject - the json objectpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在类中 MychainObjectjsonObject - the json objectCopyright © 2022. All rights reserved.