Skip to content

Instantly share code, notes, and snippets.

@ns
Created October 24, 2010 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ns/643969 to your computer and use it in GitHub Desktop.
Save ns/643969 to your computer and use it in GitHub Desktop.
public class Main
{
public static void main(String[] args) throws Exception {
ImdbReaderImpl iri = new ImdbReaderImpl();
ImdbParser ip = new ImdbParser(iri);
// ip.parseMovies("/path/to/file/movies.list.gz");
// this parses actors and actresses
ip.parseActors("/path/to/file/actors.list.gz", "/path/to/file/actresses.list.gz");
// ip.parseMovies("/path/to/file/movies.list.gz");
// iri.writeMoviesXML("/path/to/file/movies.xml");
// iri.writeActorsXML("/path/to/file/actors.xml");
iri.writeActressesXML("/path/to/file/actresses.xml");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment