1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package io; import data.Tweet; import java.io.IOException; /** * Allow you to gather tweet object from some file. * * @author Peter Wu */ public interface ITweetReader { public Tweet getTweet() throws IOException; public void close(); }