public class ProtoBufFile extends Object
public ProtoBufFile(String path)
public <T extends com.google.protobuf.Message> T load()
throws IOException
IOExceptionpublic boolean save(com.google.protobuf.Message msg,
boolean sync)
throws IOException
msg - protobuf messagesync - if sync flush data to diskIOExceptionCopyright © 2021. All rights reserved.