public class SocialFile extends Object
Constructor and Description |
---|
SocialFile(Path path,
IOService ioService,
com.google.gson.Gson gson) |
Modifier and Type | Method and Description |
---|---|
void |
prepareForReading() |
List<SocialActivitiesEvent> |
readSocialEvents(Integer numberOfEvents) |
void |
write(List<SocialActivitiesEvent> events) |
public void write(List<SocialActivitiesEvent> events) throws IOException
IOException
public void prepareForReading() throws IOException
IOException
public List<SocialActivitiesEvent> readSocialEvents(Integer numberOfEvents)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.